An arterial blood gas (ABG) test measures oxygen and carbon dioxide levels and acidity in arterial blood. It is useful for assessing ventilatory status, oxygenation, and acid-base balance. Blood is drawn from an artery, usually the radial artery. Abnormal ABG values can provide insight into underlying pulmonary or metabolic conditions. The bicarbonate-based Henderson-Hasselbalch approach and Stewart approach can be used to analyze acid-base disorders. Compensation mechanisms aim to return pH to normal levels through respiratory or renal adjustments.