Regular, or commercial, pharmacies mix and distribute medications from predetermined formulas. Compound pharmacies take a step back and start with base ingredients that can be mixed in amounts that are customized for each patient. Also, in the case of commercial drug shortages, compound pharmacies can also produce those commercial medications.