Receptors detect sensory information from the environment, while effectors, such as muscles and glands, carry out motor responses.