Photochromatic glasses are special glasses that change their color or tint when exposed to light.
They become darker in bright sunlight.
They become lighter again in low light or indoor conditions.
This property is called photochromism.
Photochromatic glasses are commonly used in spectacle lenses.
Their main purpose is to adjust automatically according to lighting conditions.
In bright light, they reduce glare by becoming darker.
In dim light, they become clearer and allow more light to pass through.
Although they may also provide some protection from ultraviolet radiation, the main purpose given in this question is tint change.
Therefore, the main purpose of photochromatic glasses is:
\[
\text{To change tint according to lighting conditions}.
\]