A traditional water heater stores and heats water in a tank, while a tankless water heater heats water on demand as it passes through the unit, offering energy savings and unlimited hot water.