When you take drugs or alcohol for a long period, your body gets used to, in other words, being dependent on the particular substance. Your brain becomes dependent on the effects the drug creates; as a result, it becomes adapted to functioning normally with the effect.