Morphine, heroin, and codeine are effective because they imi…