Aquaphor works by creating a semi-occlusive barrier on the skin. This barrier retains moisture while still allowing oxygen to reach the skin, which is crucial for the healing process. Additionally, the ointment's formulation includes ingredients like lanolin, glycerin, and panthenol, which further help to soothe and moisturize the skin.