Because lenses diffract light, they can: magnify images (microscope, magnifying glass) focus images (eye, telescope). Correct the poor focus of a near- or far- sighted eye (glasses).
Prisms separate light into its component colors. This happens because the different colors travel at different speeds and therefore bend different amounts. (Red is fastest and bends the least, so it appears at the top of a rainbow.)