An ion is an atom or molecule that has gained or lost one or more of its electrons, resulting in a net electrical charge. In the context of anatomy and physiology, ions play critical roles in processes such as nerve impulse transmission and muscle contraction.