While both these medications are opioids , these drugs function differently . The more potent option is a direct receptor activator that directly eases severe pain. In contrast , codeine is mostly transformed into morphine in the liver , making it somewhat strong for treating serious pain and fre