The primary function of the myelin sheath is to increase the speed of electrical impulses along the axon through a process called saltatory conduction. Myelinated axons allow action potentials to jump between Nodes of Ranvier, the small gaps in the myelin sheath, rather than traveling continuously along the axon. This significantly enhances the rapid transmission of nerve impulses, contributing to efficient nervous system function.