The iris is the structure that gives the eye colour. The pupil is the black hole in the middle of the iris. The iris determines the amount of light going into the eye by controlling the size of the pupil.
If we see a bright light, the iris contracts and the pupil becomes smaller. The opposite occurs if there is less light (such as in a dark room).