Let us get back to this thread.:focus:
For Hindus, dharma is the moral order of the universe and a code of living that embodies the fundamental principles of law, religion, and duty that governs all reality. The Hindu worldview asserts that is one by following one's dharma, a person can eventually achieve liberation from the cycle of death and rebirth (samsara). In the traditional Hindu view, a person’s duties are dependent upon his or her age, gender, occupation, and caste; dharma is construed at least in part in terms of prescribed rituals and caste obligations. Hindu reformers have interpreted dharma in multiple ways. For example, Mohandas Gandhi argued that dharma should be understood in more spiritual terms. He reinterpreted the role of dharma in Hindu society by highlighting its moral precepts and portrayed it as a dimension of human freedom.
The persistence of dharma in Indian society encourages spiritual practice and right conduct, but has also supported the persistence of the caste system. Even though the caste system was abolished when India gained her independence from the British, it is still socially pervasive. Modern Hindu reformers argue that regardless of its connection to dharmic rules expressed in ancient texts, the caste system is incompatible with democracy.
https://berkleycenter.georgetown.edu/essays/dharma-hinduism