Titanium dioxide is a white pigment commonly used in cosmetics to provide opacity and coverage in products such as foundations, powders, and sunscreens. It also helps to protect the skin from damage caused by harmful UV rays by reflecting and scattering the light.