While light microscopy simply uses a lens to bend waves of light, electron microscopy uses electromagnets to bend beams of electrons, allowing much greater resolution.