If the water heaters run on the gas models, then it does not need any electricity for its operation. On-demand heaters come with a separate control panel in them which is directed by electricity. This acts as a supreme power for heat generation. So in a condition of a power outage, the tankless gas water heaters also won’t work independently without any electric support.