Spark plug is part of ignition component that force high electric energy, discharge the load of electric energy at the spark plug gap and ignite mixture of air and fuel inside combustion room. Spark plugs also working under high cylinder pressures and vibration from the engines. Image below show how the electrical energy discharges across the spark gap.