Pink eye is what occurs when the thin membrane that lines the white of the eye and the eyelid becomes infected and inflamed.