Name a sodium compound used for softening hard water.
Sodium carbonate is used for softening hard water.