In Hinduism, dharma represents both cosmic law and personal duty. It is the force that maintains order in the universe and guides individuals toward righteous living. Each person has their own dharma based on their stage of life, social position, and inherent nature.
The concept appears throughout ancient texts, from the Rig Veda to the Bhagavad Gita, where Krishna explains to Arjuna the importance of fulfilling one's dharma even in difficult circumstances.
Source
Rig Veda, Bhagavad Gita