Measures electrical activity in the muscles to diagnose conditions like muscle weakness or paralysis.