Transport of sodium and potassium ions through protein channels. Also shown are conformational changes in the protein molecules to open or close “gates” guarding the channels.