What does the ABG machine do? An arterial blood gas (ABG) test measures the amount of oxygen and carbon dioxide in your blood. It also checks the acidity of your blood. This is called your acid-base balance or your pH level.