Fireworks contain black powder, fuses, and colored elements that produce different colors when burned. Chemical reactions occur when compounds are mixed with black powder to create stars of different colors - yellow comes from sodium, orange from calcium, red from strontium, green from barium, and blue or purple from copper or strontium. Fireworks were invented in China over 1,000 years ago using black powder made from saltpeter, sulfur, and charcoal. They have since been used in celebrations and displays around the world. Safety tips recommend wearing ear protection and keeping a safe distance from fireworks.