An action potential is a rapid, temporary change in the cell's membrane potential. It occurs when a neuron or muscle cell is stimulated. During an action potential, the membrane potential quickly rises and falls, creating an electrical signal that propagates along the cell. This process is crucial for nerve conduction and muscle contraction.