An Arterial Blood Gas (ABG) test is a diagnostic tool that measures the levels of oxygen (O2), carbon dioxide (CO2), and the acidity (pH) in the blood. This test provides critical information about a child's lung function and how well they are able to move oxygen into the blood and remove carbon dioxide from it.