Our vision are constantly capturing rays, which then travel to the brain. Inside the eye, these signals are processed into electrical impulses. These impulses are then relayed to the brain stem of the consciousness. The visual cortex then decodes these signals, allowing us to see the world around us. It's a complex system involving many different