Spirometer is the instrument used to measure lung capacity and volume. The record obtained from spirometer is called a spirogram.…