As a foreigner I find medicines are very cheap in India. Locally produced versions of just about anything you can think of are freely available and I know lots of people who stock up on medicines to take back to family members, particularly people from the USA.
However, medicines must have very narrow profit margins as pharmacies also sell a wide range of other products. Some of them make sense, blood pressure monitors, thermometers and food supplements. Toiletries are another line so if you need toothpaste, soap or shampoo your local pharmacy is a good place to go looking for it. Other things stretch the imagination, biscuits, chocolate, potato crisps but they fill a space on the shelves and they must sell or they wouldn't be there. The most puzzling is dog food.
Every pharmacy I've visited apart from those inside hospitals has a shelf of dog and cat food. I have no idea why but the local dogs seem happy about it.