Name the sodium compound which is used for softening hard water.
The sodium compound used for softening hard water is sodium carbonate (Na₂CO₃), also known as washing soda. It binds with calcium and magnesium ions in hard water, preventing them from forming a scale.