Karma literally is referring to actions, but it's really actions driving consequences, not only in this reality, but in the next reality. Now there's another notion of dharma. Dharma is based on what is the role you should play given the reality, given the life that you are in. So in a very simplified way, you could say, well, dharma is the rightful role, the rightful actions, your duty, depending on your role, depending on your reality. Karma is how that action translates into consequences, which is going to drive what happens in this endless cycle. Now a core idea of Hinduism is to try to escape from this cycle, to awaken to the true reality, awaken from this quasi-reality. And this is really one of the central ideas of the Upanishads, that eventually, if you can awaken, so let's say that this is an awakening, this entity, this atman, this self right over here, this perceived individual has now awoken and can see through, pierces the veil of that maya, now they have rejoined Brahman, and they've recognized that atman and Brahman are the same.