The list of drugs that affect the CNS is quite lengthy. Some of the major drugs that can impose a serious effect on the functioning of the brain are stimulants. There are central nervous system stimulants, such as cocaine and methamphetamine, and depressants such as opiate drugs, benzodiazepines, and alcohol that affect the CNS.
https://recoverypartnernetwork.com/drug/opioid/central-nervous-system-depressants