The somatic nervous system is a part of the peripheral nervous system responsible for voluntary muscle movements and the relay of sensory information to the central nervous system. It comprises motor neurons that control skeletal muscles and sensory neurons that convey information from the senses to the brain and spinal cord.