A magneto is an electrical generator that works on permanent magnets to produce AC while alternators are the same but they use field coils instead of permanent magnets.