Electric ovens do not have a pilot light like gas ovens. Electric ovens use electric heating elements to generate heat, so there is no need for a pilot light.
However, if you are referring to a gas oven with a pilot light, it's important to have the range hood fan or ventilation system functioning properly when using the oven. The range hood fan helps to remove any combustion byproducts, such as carbon monoxide, that may be produced when the gas burners or pilot light are in operation. Carbon monoxide is a potentially dangerous gas that can be harmful if it accumulates in an enclosed space.
Therefore, it is generally recommended to have proper ventilation, such as a functioning range hood fan, when using a gas oven with a pilot light. This ensures that any combustion byproducts are safely expelled from the kitchen area. If you are unable to turn on the range hood fan, it would be advisable to seek assistance from a qualified technician to address the issue before using the gas oven.