Conjunctivitis is an irritation or infection. It affects the membrane that covers the white of your eye and the inside of your eyelid (conjunctiva). It can happen to one or both eyes.