The correct answer is D. Prism.
A prism is a transparent object with flat, polished surfaces that refract (bend) and disperse (split) light. When white light passes through a prism, it is split into its component colors, which are the colors of the rainbow. This is because each color of light has a different wavelength, and the prism bends each color of light by a slightly different amount.
A glass slab is a flat, rectangular piece of glass. It does not refract or disperse light, so it will not split white light into its component colors.
A convex lens is a lens that curves outward at the center. It can be used to focus light, but it will not split white light into its component colors.
A concave lens is a lens that curves inward at the center. It can be used to spread light out, but it will not split white light into its component colors.