The inner surface of the alveoli is covered in a thin layer of a solution of water, salts and lung surfactant. This surfactant makes it possible for alveoli to stay inflated. Oxygen dissolves in the water before diffusing into the blood, but the water can also evaporate into the air in the alveoli.