The ignition system of an internal combustion engines depends on the type of engine and the fuel used. Petrol engines are typically ignited by a precisely timed spark, and diesel engines by compression heating. Historically, outside flame and hot-tube systems were used, see hot bulb engine.