When they combine with oxides , they make up some of the most common minerals on earth , with variety of uses in industry , medicine and consumer goods. Some compounds give off a great deal of light when heated , making them key ingredients in fireworks.