A water heater is an appliance that uses an energy source, either electricity, gas, or coils, to heat water for domestic use. For example, if you want hot water for cooking, bathing, cleaning, or just heating, you need a water heater in your home.