In EMG, a needle electrode is inserted through the skin into the muscle tissue. This electrode picks up the electrical activity generated by muscle fibers, both during contraction and at rest. The signals are then amplified and displayed on a screen for analysis. Surface electrodes can also be used for non-invasive measurements, though they are less precise.