Origin story
In Kerala folklore Yakshis are otherworldly beings who dwell in banyan and pala trees. A Yakshi honoured with lamps and offerings becomes a benevolent guardian; neglected, she is feared as a restless spirit. The kavu tradition turns that fear into devotion.
The tree, the lamp and the mirror signify the boundary between the human and spirit worlds. Yakshi worship is closely tied to fertility, rain and the protection of sacred groves, and her shrines are often found beside those of the Nagaraja and the Gandharvas.
Source: Wikipedia: Yakshini — https://en.wikipedia.org/wiki/Yakshini