The way they used karma was that if someone had good karma, they would move up on the caste system after reincarnation, but if they did bad karma, they would move down in the caste system. One example of this is if someone is a tree, but they produce fruit, they get good karma, but if they fell on someone and killed them, then they would move down in the caste system.