The human respiratory system is adapted to allow air to pass in and out of the body, and for efficient gas exchange to happen. Exercise and smoking both affect the lungs and circulatory system.
The ribs, intercostal muscles and diaphragm all play important roles in ventilation (breathing).
When you inhale:
When you exhale: