Moksha – renunciation of duty,love, and wealth to seek spiritual perfection. It is achieved after the release of samsara, the cycle of births and deaths
dharma - duty/righteousness;fulfilling one's role in society
Hinduism teaches that everyone has a dharma or duty to perform according to his or her position in life.
moksha – liberation or release from the cycle of birth and death (reincarnation)
Hinduism has fourmaingoals or aims (purusharthas) – dharma, artha,kama, moksha.
If he or she does not do so, then it will be difficult for him or her to reachmoksha (liberation).