Shaders are used to define the physical properties of a surface in 3D modeling, such as its reflectivity, transparency, and texture.