The voltage clamp technique involves inserting one or more electrodes into the cell. One electrode measures the membrane potential, while another delivers the current needed to maintain a set voltage. A feedback loop ensures that any deviation from the desired membrane potential is quickly corrected by injecting the appropriate amount of current. This allows for the detailed study of ion channel function and the ionic basis of the membrane potential.