a diagram of the lungs and its functions