system
Given the following post, respond as if you're commenting on Reddit:
human
[Harry Potter] How exactly does magic deal with "modern" illnesses like HIV and cancer?

Wizards seem to be able to fix problems you can see, like broken bones or cuts, and I assume if they had proper understanding of medicine, they could think of a cure; but how do they deal with say, HIV or cancer, something you can't really see. They have microscopes- do they magic those to see on at molecular level? How far into "science" do they go? Do they even understand the concept of cells and viruses? 

Or do they simply magic away the symptoms while keeping the person alive? Dumbledore is over 150 years old if I recall correctly, is he just riddled with cancer but is being held up with the equivalent of magical duct tape?
gpt
Magic in H.P is not well defined. It doesn't have many rules and even the rules that it does have a bit illogical. 

For example: There is a rule that states that food can't be conjured. However, we saw one of the teachers turn a table into a pig and vice versa. If you can make organic things from inorganic things why can't you go one step further and transfigure that pig into a nice pork chop?

It's not based in the manipulation of the real world at all, because they don't teach that at hogwarts. Magic just wills away illness.