Something I can answer, (at least the pills part). I work in a pharmaceutical company, and we produce Vitamine B pills, and more stuff like that. So we get all the resources delivered as powder (usually cellulose and lactose + the desired vitamin) it then gets mixed and basically watered and dried again. We then compress the dried mix on a machine and bum. Pills done. Some are also coated with some kind of film so they are prettier or can survive your stomach etc.
Latest Answers