We owe our vision to bacteria, specifically the bacteria that gave early vertebrates a gene we need for how our vision works over 500 million years ago. This gene makes inter-photoreceptor retinoid binding protein (IRBP) and IRBP is a part of the retinoid cycle, a process unique to vertebrate eyesight. When light triggers the photoreceptors in our eyes, it causes a certain signaling compound to change shape, which turns the light into electrical signals that go to our brains, and IRBP is what helps those compounds change back into their original shape so the process can happen all over again. Early vertebrates probably got the gene for this protein directly from bacteria through a process called horizontal gene transfer. In bacteria, this gene made an enzyme, but after those vertebrates grabbed the gene, it mutated to produce our IRBP protein, and the rest is history.