 Elaborate descriptions of the shape and function of the physical and metaphysical universe, and its constituents are also provided in the Jain texts.All of these elaborate theories attempt to illustrate and consistently explain the Jain karma theory in a deeply moral framework, much like Buddhism and Hinduism but with significant differences in the details and assumptions.According to the Jain theory of karma, the karmic matter imparts a colour ("leśyā") to the soul, depending on the mental activities behind an action.