What is the difference between a magneto and stator?

A stator and a magneto quite similar except a stator system requires the presents of power inorder to generate power and as for the magneto generates its own energy, a stator inside state magneto outside state.