The Century of the Emperors said that Shennong was known as the "King of Fire, so Yan Di was named after fire". In Xun Shuang Story, scholars in Han Dynasty said, "Is the earth a fire? A day in the sky. " People naturally deify Emperor Yan as "Vulcan" and "Sun God". There are two local stories about the relationship between Emperor Yan and the sun. First, the sun sleeps in a hibiscus tree in Tanggu, and it is too lazy to go out to work, making the world dark, crops barren and wild animals rampant. Emperor Yan interceded for the people, got the telescopic wooden stick of the Queen Mother of the West, parted the clouds and drove away the sun, and the people were saved. Secondly, Emperor Yan of Shennong gave the five-grain seeds given by Danque to his ancestors, but after planting, they did not blossom and bear fruit, and the five grains did not harvest. Emperor Yan discovered "the difference between yin and yang" with the divination calculus of eight diagrams, that is, the grain was not sunny enough. With the help of the gods, Emperor Yan rode colorful birds to Penglai Island in the East China Sea, rushed back with the sun in his arms, and hung it on the head of Jiangcheng City. Since then, the crops have been bumper and all the people are happy.
Emperor Yan "ruled the king with fire", and Jiangyan clan formed the custom of worshipping fire. In the ancient clan ruins of Baoji, many stoves and pottery pots were found to make fires and protect them. There are still a large number of fire temples and sun temples in Baoji area: there are temple fairs and sacrificial activities every year to pray for the New Year and longevity. Before and after the ceremony of Shennong Temple on the 11th day of the first month, there were many programs related to Yan Di in Xifu Shehuo, such as "Shennong captures wild seedlings", "Fight between the bulls and tigers" (Yan Di's image is bull's head) and "Vulcan". The local people also painted social fire masks with wooden spoons, and the flames in the masks showed the loyalty and strength of the characters. On the evening of May 15, there will be a grand dragon dance party, lantern festival and fireworks party. At midnight, the villagers piled up pine and cypress branches outside the door and lit a bonfire. The whole family cheered around the fire and beat the ashes with wooden sticks. The more sparks fly, the more it symbolizes the bumper harvest of grain. When a local girl gets married, there is a "lamp jar" in her dowry, which is a handicraft with a hard shell made of cloth inside and a fine cloth or satin embroidered with auspicious patterns outside. When the daughter got married, the "lamp jar" was filled with flint, sickle, grass and lamps. Obviously, this is a relic of early fire preservation, but it is more decorative. Usually when a child cries, parents light a fire in the house, sprinkle some salt, and drive away evil spirits with the sound of peeling, seeking safety. Adults are sick, but their families use straw to burn grass, hoping to alleviate the pain and recover soon. Children die young, adults die, and on the way to the funeral, a fire will be lit to pray for the rest of the deceased and the safety of their families. The legendary Emperor Yan not only taught people to cultivate crops, but was also revered by later generations as the patron saint of exorcising evil spirits and eliminating disasters.