A gas water heater will always have a flue pipe exhaust coming off the top of the unit. An electric water heater does not.