A solar water heater is a device that uses the energy of sunlight to heat water. The most common type of solar water heater consists of a solar collector, which absorbs the sun’s energy, and a storage tank for the heated water. Solar water heaters can be used for both residential and commercial applications.