An arterial blood gasses (ABG) test determines the acidity (pH) and amounts of oxygen and carbon dioxide in artery blood.