An action potential is a rapid and temporary change in the electrical membrane potential across a cell's plasma membrane. It is primarily observed in neurons and muscle cells. Action potentials are fundamental for the transmission of nerve impulses and for muscle contractions.