If you pump gas with the car on, there is a risk of sparking near the gas nozzle and the car’s exhaust, which could cause a fire. Fuel pumps are highly flammable and the gas vapours in the air can easily catch flame. To ensure your safety and the safety of others, it is best to turn the car off when refueling. It is also important to use extreme caution when handling the gas nozzle and make sure that it is away from the car's exhaust and any other source of heat or spark. Additionally, some pumps may shut off automatically when the car is running, so you may be unable to pump gas if you don't turn your car off first.