Retina.

The retina contains two types of photoreceptors:

Action potentials triggered by light are transmitted to bipolar cells.

The action potentials are then relayed to ganglion cells, whose axons make up the optic nerve and propagate the signal to the brain via the optic disk.