When a bright light is focussed on eye, receptor cell receives the message and passes on to sensory neuron, then it goes to brain, brain reverts back the message by motor neuron which contracts the pupil.
Receptor —> Sensory neuron —> Brain —> Motor neuron —> Eye —> Eye muscle contracts.