Ontify
The chemical reactions and pathways resulting in the formation of cocaine, an alkaloid obtained from the dried leaves of the shrub Erythroxylon coca. It is a cerebral stimulant and narcotic.