SMS: The physics of foams