Gas leaks occur due to bad fitted and faulty appliance like boilers, cookers, stove, dryers, fireplace, etc. It can also be due to corrosion, sparks, etc. If you detect a gas leak, turn off the gas supply.open the windows and shut off your electronic devices.Lack of ventilation can worsen the situation.