Dependency develops over time through repeated exposure to a substance. Initially, individuals may use drugs or alcohol for various reasons, such as recreation, stress relief, or to enhance performance. Over time, the body and brain adapt to the presence of the substance, leading to tolerance and withdrawal symptoms when the substance is not available. These adaptations involve changes in brain neurotransmitter systems and can result in a cycle of use and dependence.