For the first question, medical illustrators create patient-education materials in addition to imagery for medical textbooks.
For the second question, the answer is all of these. Illustrators can work within an agency, within a large company, or as freelance/self-employed.