Cocaine changes how the brain works. It affects the levels of dopamine in the brain.