Hypernatremia occurs when there is an imbalance between sodium and water in the body, leading to high sodium concentrations in the blood. Sodium is a critical electrolyte responsible for maintaining proper nerve function, muscle contractions, and fluid balance. Hypernatremia is often defined as a serum sodium concentration exceeding 145 mmol/L.