Sensory receptors are specialized cells or cell structures that detect and respond to external or internal stimuli by converting them into electrical signals for the nervous system. They play a crucial role in the sensory systems, enabling organisms to perceive and interact with their environment by detecting various forms of energy like light, sound, and temperature.