Karma is the most popular word in the world today and the most misunderstood as well.
The literal meaning of the word Karma is Action. Therefore, any activity in the Physical Body whether it is walking, eating, drinking constitutes Karma.
The body is doing Karma even at sleep. The physiological processes like pumping of heart, breathing etc. are continuously running to keep a person alive.
Thoughts that arise in the mind also constitute Karma as they are just fluctuations of the mind. Mind is doing Karma even at sleep as it is in an Unconscious state.
In Yoga, Mind is not just brain but has Four Parts — Ahamkara, Manas, Chitta and Buddhi.
Watch the below video from Swami SatyaNanda of Bihar School of Yoga.
The mental fluctuations that arise in the mind translate as Energy Waves in the Energy Body or Pranamaya Kosha.
This causes residual impact on the Energy Body. Thereby, causing obstruction to the flow of Prana in the entire Human Mechanism.
This would explain as to why Psychological Problems are often accompanied with Physical Ailments. Due to depletion of Prana, the person tends to become weaker over a period of time .
To summarize, Karma is the residual impact of the Actions and Thoughts on the Physical, Mental and Energy Body of a person.