A computer will record how much air you inhale and exhale. It will also measure how fast the air flows as it enters and exits your lungs.