During an EMG, a needle electrode is inserted through the skin into the muscle tissue. The electrode detects electrical activity in the muscle, both at rest and during contraction. The activity is displayed on a monitor in the form of wave patterns. A histologist may analyze these wave patterns to correlate them with the microscopic structure and function of the muscle fibers and the surrounding connective tissue.