Electromyography is a test that assesses the health of the muscles and the nerves controlling those muscles.