The different associations of planets and houses form Moksha Yoga. The 5th house represents soul and power of the mind. The 9th house represents spiritual knowledge and philosophy. 12th house represents salvation that is moksha.
The 12th house in the natal chart shows how many births the soul has to take, the karmas and the life after death.
Jupiter, Moon, Sun, Uranus and Neptune are the planets which indicate the level of spirituality of the person. Jupiter is the most significant among all. It dominates spirituality.
Saturn too is related to salvation very importantly. The planet is spiritual thus adds to the level of Moksha Yoga in one's chart. It plays an important role in the journey of human soul to salvation. It guides you in the journey to liberate.