The main function of sensory nerves is to carry sensory information from the body to the spinal cord. This information is then processed by the spinal cord and sent to the brain, where it is interpreted. Sensory nerves also carry signals from the brain to the body, allowing us to move and respond to our environment.