Like other Chinese festivals, there is also a legend behind the Dragon Boat festival. Here are extracts about the festival taken from Chinese Culture.
Qu Yuan served in the court of Emperor Huai during the Warring States (475 - 221 BC). He was a wise and erudite man. His ability and fight against corruption antagonized other court officials. They exerted their evil influence on the Emperor, so the Emperor gradually dismissed Qu Yuan and eventually exiled him. During his exile, Qu Yuan did not give up. He traveled extensively, taught and wrote about his ideas. His works, the Lament (Li Sao), the Nine Chapters (Jiu Zhang), and Wen tian, are masterpieces and invaluable for studying ancient Chinese culture. He saw the gradual decline of his mother country, the Chu State. And when he heard that the Chu State was defeated by the strong Qin State, he was so despaired that he ended his life by flinging himself into the Miluo River.
Legend says after people heard he drowned, they were greatly dismayed. Fishermen raced to the spot in their boats to search for his body. Unable to find his body, people threw zongzi, eggs and other food into the river to feed fish, so hoped to salvage his body. Since then, people started to commemorate Qu Yuan through dragon boat races, eating zongzi and other activities, on the anniversary of his death, the 5th of the fifth month.