Dependence is primarily driven by changes in the brain's chemistry and function. When a substance is repeatedly used, it can alter neurotransmitter activity in the brain, leading to neuroadaptation. For example, opioids can change the way pain signals are sent and received by the brain, leading to physical dependence. The body becomes reliant on the presence of the drug to maintain normal function, and its absence triggers withdrawal symptoms.