EMG is a diagnostic test that assesses how well the muscles respond to electrical signals transmitted by specialized nerve cells known as motor nerves. It is used to determine how well the muscles function. It is possible to diagnose a variety of conditions using an EMG, which is a type of muscle contraction.