Consider a point source of light; the light rays will be diverging from the source. Note that if the source is at infinite or at very large distance the rays will be parallel. For example the Sun's rays are parallel rays. Divergent rays can be made parallel rays by using a convex lens. Refraction of light by a convex lens makes this possible. Let us first understand refraction at a flat surface to begin with.