Afferent nerves carry sensory information from the peripheral nervous system to the central nervous system.