Magneto is a fictional character that appears in comic books published by Marvel Comics.
A powerful mutant with the ability to generate and control electromagnetic forces, Magneto has been the X-Men's most prominent enemy ever since his first appearance. In his early appearances, his motives were bent on megalomania, but writers have since fleshed out his character and origin, revealing him to be a Jewish Holocaust survivor whose actions are driven by the purpose of protecting the mutant race from suffering a similar fate. His role in comics have varied from supervillain to anti-hero to even hero.
The full extent of Magneto's power has been greatly expanded upon in the years since he was first introduced. At a basic level, however, Magneto has the ability to manipulate the electromagnetic force to achieve a wide range of effects.
Such effects include the creation of force-fields which can selectivelly block out matter and energy (while they usually allows sound and visible light to pass through, so Magneto can interact with other characters, they can also shut out sonic blasts and shockwaves, as well as lasers and nuclear explosions). Thanks to this, Magneto is invulnerable to most harm when his personal field is active and can survive in deep space.
He can freely manipulate electromagnetic energy in all frequencies of the spectrum; control and create electromagnetic fields and generate massive EMPs. He has also been depicted using his powers to affect both magnetic and nonmagnetic materials down to the sub-atomic level, although element transmutation strains him significantly and it seems a lot easier for him to manipulate the former. He has levitated objects as heavy as a 30,000 ton nuclear submarine and pulled a large amount of asteroids from their orbits in the solar system's asteroid belt to entirely block sunlight from reaching the earth; the maximum quantity of mass that he can affect at one time is unknown.
Magneto has been consistently and frequently depicted as resisting all but the strongest or most unexpected telepathic attacks. Over the years a number of explanations has been proposed for this, such as: anti-telepathy technology wired into his helmet, latent telepathic powers (during the Secret Wars saga), some physical aspect of his electromagnetic powers that can interfere with telepathy (he once used the earth's magnetic field to dampen the powers of all telepaths within his reach), or sheer willpower. In his early appearances, Magneto was also able to engage in astral projection.
In addition to his powers, Magneto is also a genius with competence in various fields of advanced science, especially in genetic manipulation, physics, engineering, and other fields of technology. He has invented advanced weaponry, space stations, and intelligent superhuman lifeforms. Magneto is also a master strategist with extensive combat experience capable of surviving or even winning against what would appear to be a superior force. Finally, he has had extensive combat training, though he prefers to use his powers in combat situations.