Yes, a gas stove does not require electricity to generate heat. The heat is produced by burning gas, typically natural gas or propane, which is supplied through a gas line or a gas cylinder. The flame is ignited by turning the stove knob or using a built-in electric spark ignition system, but once the flame is established, the gas stove will continue to produce heat without electricity.
However, it's important to note that some modern gas stoves may have additional features that require electricity, such as electronic ignition systems, digital displays, timers, or convection fans. These features enhance the functionality and convenience of the stove but are not necessary for the basic operation of the gas burners. In the absence of electricity, you can still manually ignite the gas burners with a lighter or matchstick.