At its most basic, the Buddhist and Hindu idea of karma refers to the causes and effects of behaviour. The negative or positive actions we take in one moment will have some residual effect on our future moments. When taken with a belief in reincarnation, the idea is that what we experience in this lifetime is directly related to experiences from previous lifetimes. Furthermore, your soul may have agreed to the circumstances of this life as necessary for its ongoing growth!