I lit a gas stove with a match when the power was out. Water heater has a pilot so didn’t need a match.
That’s what we do with our stove when the power goes out. Thank God for gas stoves!