How does a Spirometer Work?

A spirometer is used to see how much air a patient can breathe out of their lungs. Spirometers measure forced velocity of the force of air from the lungs.