First, the question:
Is a drugstore THE SAME AS a pharmacy? The answer is no.
A pharmacy is place, or a service, which prepares and dispenses medication. You'll find pharmacies in hospitals, as independent outlets and also as departments in retail stores.
A drugstore is not what it sounds like. In fact, it's an American English term for a type of retail outlet which includes a pharmacy section but which also has a wide range of other goods: for example, cosmetics and household products. In larger drugstores, you'll probably find that the pharmacy is only a very small section, and that most of the store is taken up with selling other products. These other products also account for most of the business's revenue.