Electromyography (EMG) is a diagnostic procedure that assesses the health of muscles and the nerve cells that control them, known as motor neurons. It translates the electrical activity produced by muscles into data, which can be analyzed to detect neuromuscular abnormalities.