<human>:  How did fireworks originate?
<bot>: Fireworks were invented in China in the 10th century. They were used to scare away evil spirits. The Chinese used fireworks to celebrate important events, such as weddings and birthdays.