Nerve impulses (action potentials) are electrical signals that travel along the axon of a neuron. These signals are generated by the movement of ions, primarily sodium (Na+) and potassium (K+), across the cell membrane. Voltage-gated ion channels specific for Na+ and K+ open and close in sequence, causing rapid changes in the membrane potential.