Describe the formation of rainbow in the sky

A rainbow is always formed in a direction opposite to that of the sun. The water droplets acf like small prisms. They refract and disperse the incident sunlight, then reflect it internally, and finally refract it again when it comes out of the raindrop. Due to the dispersion of light and internal reflection, different colours reach the observer’s eye.