A water heater heats water using an energy source such as electricity, natural gas, or propane. The water is stored in a tank and then distributed through pipes to various fixtures such as a shower or sink.