The health risks of each of these are simillar to a certain degree, in a way that each of these can cause addiction or addicive behavior.
1. Marijuana is arguably safe to use in controlled environment, but it is proven to cause nerve damage, cognitive ipairment and addiction.
2. Opium is a mild drug that reduces our pain sensitivity but can make us prone to accudents, weaken our nervous system and cause addicition.