Metabolic acidosis is a condition characterized by an imbalance in the body's acid-base balance. It occurs when there is an excess of acid in the body due to either increased acid production, decreased acid excretion, or a loss of bicarbonate. This can lead to a decrease in blood pH, making it more acidic.