Tankless water heaters require electricity, even if they use gas to heat the water. If you have no power in your home, you will not have hot water if a tankless water heater is your only source.