"Samyak darshan gyan charitrani moksha margah" is the fundamental principle of Jainism. It means: "true perception, true/right knowledge and true/right conduct" is the path to attain liberation (moksha) of the samsara (the universal law of births and deaths). Moksha is attained by getting liberated from all karma. Those who have attained moksha are called siddha (liberated souls) and those who are attached to the world through their karma are called samsarin (mundane souls). Every mundane soul has to follow the path as described by the Jinas (Tirthankaras) to attain moksha.
Jainism differs from other religions in its concept of God. According to its belief, there is no overarching supreme divine creator, owner, preserver or destroyer. Every living soul is potentially divine and the Siddhas who have completely eliminated their karmic bonding, thereby ending their cycle of birth and death, have attained God-consciousness.