Tankless water heaters produce an endless supply of hot water on demand. They also take up much less space than a tank-style water heater, and have long-term energy savings. However, tankless water heaters usually cost more upfront, and they require annual maintenance.