Original: Cocaine, used as an anesthetic and a stimulant, is an illegal drug when it is not used medically
Simplified: Cocaine, used as an anesthetic and a stimulant, is an illegal drug when it is not used medically.