The sodium-potassium pump is vital for maintaining the resting membrane potential of neurons. It actively transports three sodium ions out of the cell and two potassium ions into the cell, creating an electrochemical gradient. This pump helps reset the neuron after an action potential has passed, making it ready for the next signal.