Pink eye, also known as conjunctivitis, develops when the transparent membrane, or conjunctiva, lining the eyelid and the white part of the eyeball gets inflamed. You can get pink eye from someone else if their bacterial or viral infection passes to you.