A surface can be transparent or opaque. When ray tracing a transparent surface, light rays that penetrate the surface bend, and the light is refracted.
See also refraction.