Explain spirometry testing and what information about lung volumes can be obtained.

Explain spirometry testing and what information about lung volumes can be obtained.