THC and CBD are both cannabinoids derived from the cannabis plant
Although THC is best known for its mind-altering euphoria, it too has important medical benefits. There’s some overlap in what CBD and THC can treat, but THC is particularly effective in relieving nausea, appetite loss, insomnia, among other symptoms.
source