The legend of eating zongzi on the Dragon Boat Festival is to commemorate Qu Yuan, the minister of Chu during the Warring States Period. Qu Yuan is a great patriotic poet in China. He actively advocated that Chu and Qi should unite against Qin. His opinion was not adopted, but was dismissed and sent to a remote place.
When Chu was about to perish, on the fifth day of the fifth lunar month, Qu Yuan threw himself into the Miluo River. After Qu Yuan threw himself into the river, Chu people threw delicious food into the river to prevent fish, shrimp, turtles and crabs from eating Qu Yuan's body. In this way, year after year, in order to commemorate this patriotic poet, every Dragon Boat Festival, people throw food into the river to offer sacrifices to Qu Yuan. Later, it evolved into zongzi. Every Dragon Boat Festival, people row dragon boats to the Miluo River to deliver zongzi. This is the origin of eating zongzi and rowing dragon boats on the Dragon Boat Festival.
Any country, any nation, has its own stories and legends, which is also a kind of folk custom transmission. Eating moon cakes and zongzi in China is also the inheritance of this folk custom.