Having looked at many studies, the report issued by the National Academy of Science in the USA concluded that the main use of cannabis was for the treatment of chronic pain and that this was the reason many people consumed cannabis as a medical prescription.
These effects depend both on THC and CBD.
It is also effective in countering spasms in muscles, such as the diaphragm, that do not respond to other medications.