Opioids have long been an important tool in the world of pain management, but the side effects of these drugs — from addiction and respiratory failure to severe itching and dizziness, can be overwhelming. Scientists have been trying to understand how these side effects happen so they can create better, less problematic pain relievers.