Our eyes are the window to the world and connect us to our physical surroundings. They enable us with sight, which has been labeled as the most valuable of all the senses. Because our eyes are such vital organs, when they are affected by an infection, it can be cause for concern. The most common type of eye infection is pinkeye, also known as conjunctivitis. Pinkeye can be caused by a bacterial or viral infection, and can even be brought on by allergies.