Solution:When a CD is viewed in sunlight, rainbow-like colours in seen. To understand this phenomenon one has to understand the construction of CD. A CD is a thin, circular disc of metal and plastic. It is actually made of three layers. Most of a CD is made from a tough, brittle plastic called polycarbonate.
Sandwiched in the middle there is a thin layer of aluminium. Finally, on the top of aluminium, is a protective layer of plastic and lacquer. It acts like a thin film, which is responsible for reflection and diffraction of light.