That is related to the legend of Nuwa Empress. According to legend, Nuwa Empress fabricated good people and found that when people gave birth to children on the earth, all kinds of plague gods came to harm these children. Nuwa Empress saw that In her eyes, she felt that these plague gods dared to harm her descendants, and she felt very angry. She managed to finally defeat these plague gods who spread diseases everywhere.
But in order to prevent the people from being harmed again, she told them: From now on, on the day of Beginning of Summer, adults must eat eggs, and children must have various hard-boiled eggs hanging on their chests. You can avoid the plague god from causing trouble again.
Sure enough, after listening to Nuwa's words, the people ate eggs every time at the beginning of summer, and the children had eggs hanging on their chests. Everyone lived peacefully through the disturbance of the plague god at the beginning of summer. Later, the custom of "eating eggs at the beginning of summer will not cause summer symptoms in hot weather" has been passed down.