While some sunglasses are made of glass, most modern sunglasses use other materials like plastic (polycarbonate or acrylic) for their lenses.
Glass lenses offer excellent clarity and scratch resistance but are heavier and more prone to shattering than plastic lenses. Plastic lenses are lighter, more impact-resistant, and can be easily tinted and shaped, making them a popular choice for sunglass manufacturers.
Therefore, the answer is: not all sunglasses are made of glass, but some are.