Dharma is the eternal law on which the universe rests, and by which the universe is governed. Welfare of mankind ultimately rests upon dharma. Righteousness is the highest wealth. It is the rule of life. In righteousness everything is established or rooted.
The main feature of dharma lies in refraining from doing unto others what one would not do unto oneself. Compassion, liberality, truthfulness, purity, self-restraint and tolerance are the ingredients of dharma. Tread the path of dharma and you will get happiness along with freedom. You can secure the real joy and glory of life.
That which helps you in your spiritual evolution is right. That which obstructs and hinders your spiritual evolution is wrong. That which leads to unity of Self is right. That which leads to separation is wrong. To do good to others, to serve and to help others, to give joy to others, is right. To give pain to others, to injure others, is wrong.
Do not do any act which injures another and makes you feel ashamed to do it. Do as you would be done by. Do unto others as you wish others to do unto you. This is the secret of dharma. This is the secret essence of karma yoga. This will lead you to the attainment of eternal bliss.