ABG tests are done to assess lung function, oxygen levels, and acid-base balance in the blood. Doctors use it to diagnose respiratory problems like asthma, COPD, and monitor critically ill patients in the ICU. It also helps evaluate how well your body is getting oxygen and removing carbon dioxide.