An ABG test measures the amount of arterial gases, such as oxygen and carbon dioxide. It can be a useful adjunct to assess acute or chronic diseases.