This common test assesses how well your lungs work by measuring how much air is inhaled and exhaled as well as how quickly it is exhaled. A physician can use the information to determine how well you’re responding to medication and to diagnose and evaluate lung disease.