Final answer:
The contraction of the respiratory diaphragm and intercostal muscles during inhalation increases thoracic volume and decreases pressure in the lungs, causing air to enter.
Step-by-step explanation:
When the respiratory diaphragm contracts, it flattens, leading to an increase in thoracic volume. Concurrently, the intercostal muscles pull the ribs up and out. Owing to Boyle's Law, which posits an inverse relationship between pressure and volume, this increase in thoracic volume leads to a decrease in pressure within the lungs as compared to the external atmosphere. As a result, air is drawn into the lungs.