how does a pressure foam dispenser work

Hi !

I am trying to design a product which would have to dispense foam/cream etc and am trying to understand how the pressure dispensers are designed but cannot find any information on this subject. Would anyone be able to help me?

Thanks!

ask a barrista at Starbucks to show you the unit when they clean it…