The primary function of the ganglion cell layer is to house the retinal ganglion cells (RGCs). These cells receive visual information from the photoreceptors via intermediate neurons called bipolar cells and integrate this information before transmitting it to the brain via their axons, which form the optic nerve.