Cub Cadet Zero Turn RZT L 54" Annual Maintenance.

371 hours: Changing oil, spark plugs, air filter, fuel filter, adding in a fuel shut-off switch, cleaning deck and replacing blades. Deck is in perfect shape 5 years old. What is a magneto?