Heroin and synthetic opioids such as fentanyl fall under the illegal opioid category.

https://recoverypartnernetwork.com/drug/opioid/opioid-epidemic