Airplanes have two magnetos so that if one magneto fails the other keep the combustion process running in the cylinder by providing ignition to spark plugs. This is done to reduce the safety risk during flight.