Ba is the daughter of the Yellow Emperor (Huangdi) whom she aided during his Battle at Zhuolu against Chiyou. After Chiyou had fielded a wind god (Feng Bo) and a rain god (Yu Shi), Ba descended from heaven to use her drought power to defeat their wind and rain powers. She is one of the first goddesses attested to in Chinese literature, appearing in the early collection of poetry, the Shijing, as well as in the later Shanhaijing. Nüba can be considered to be an ancient Chinese mythical drought demon. After having descended from Heaven to aid Huangdi at Zhuolu, instead of returning to heaven, Ba wandered to the northern parts of the earth. Wherever Ba appeared, there would be a drought.
Ba is described in the Shanhaijing as dressed in green clothes. In the Shenyijing of the Han Dynasty or Six Dynasties times, she is described as being above average in height, but otherwise looking like a person, who walked naked as fast as the wind.
Up through the middle of the twentieth century, ceremonies to produce rain were held in many regions of China. The basic idea of these ceremonies, which could last several hours, was to drive Ba out of the region. Once Ba was chased away, then the drought was thought to depart along with her and rain would then be sure to soon commence.