<human>:  What is the difference between a pharmacist and a doctor?
<bot>: The primary difference between a pharmacist and a doctor is that a pharmacist is primarily responsible for preparing and dispensing medications, while a doctor is responsible for diagnosing and treating illnesses. A pharmacist typically has a degree in pharmacy, while a doctor typically has a medical degree. A doctor is also able to prescribe medications, whereas a pharmacist can only dispense medications that were prescribed by a doctor.