A water softener consists of three main components: a control valve, a mineral tank, and a brine tank. The control valve measures water flow and initiates the regeneration process when the resin beads reach their maximum capacity. The mineral tank is where the ion exchange occurs, and the brine tank holds the salt solution used for regeneration.