MokshMoksh is one of the four fundamental pursuits of life.
Moksh simply means salvation.
In common parlance, Moksh means getting rid of all the miseries of life.
Since Dharm, Arth and Kama, all are fetters of life one aspires for Moksh, the fourth pursuit.
Let us always keep in mind that Moksh is not a part of Dharm, but a pursuit beyond Dharm. Dharm only helps in this pursuit. The path to Moksh comes only through Dharm nowhere else.