The sodium-potassium pump is crucial for maintaining the resting membrane potential and restoring ionic balance after an action potential. This pump actively transports three Na+ ions out of the cell and two K+ ions into the cell, using ATP as an energy source. This activity helps to re-establish the concentration gradients of Na+ and K+ across the cell membrane.