For air to flow into the lungs, the pressure inside the alveoli must become lower than the atmospheric pressure. This relationship between volume and pressure is called
Inspiration can occur if the pressure within the lungs (intra-pulmonary pressure) is less than the atmospheric pressure. For expiration the atmospheric pressure is slightly higher than the pulmonary pressure. This inverse relationship between volume and pressure is established in Boyle's law.