The legal drugs from your options are:
C) Over-the-counter drugs
D) Prescription drugs
A) Cocaine and B) Hallucinogenic drugs are typically illegal, although there can be exceptions for certain medical uses under strict regulations (e.g., certain hallucinogens being used in clinical trials).