The kalpavriksha originated during the Samudra manthan or "churning of the ocean of milk" along with the kamadhenu, the divine cow providing for all needs. The king of the gods, Indra, returned with this tree to his paradise.
A kalpavriksha is mentioned in the Sanskrit work Mānāsara as a royal emblem. In Hemādri's work Caturvargacīntama, the kalpavriksha is said to be a tree of gold and precious stones.
Kalpavriksha are wish-granting trees which fulfills the desires of people in initial stages of worldly cycle as per Jain Cosmology. In initial times children are born in pairs (boy and girl) and don't do any karma. There are 10 Kalpavriksha which grants 10 distinct wishes: