The difference is highlighted between Oxycodone and Morphine, not Oxycodone and Heroin. I also understand that they both share a very similar chemical formula (as they both belong to the same family of opioids). I also see that the two are two Hydrogens away and 1 Nitric Oxide group from being the same.