There are many matters which us humans resort to either science aur bus mazhab mein aisay he hai…
For instance science has an answer for all the jin type theories… but on the other hand we do have Surah Jinn also there in Quran which highlights many aspects
Likewise… is medicine necessary? in olden times, ppl used to say prayers and duaas to make rid of salient fewer and stuff…
was it only in their heads, that they use to pray and by chance if the infant got better they thought it really worked?
They didn't only make duas for ailment.. They had methods like hijama, which is actually a sunnah.
If you want to look deeper into scientific explanations in Islam, we have a book called tawheed al mufaddhal. Imam Jaffar al-Sadiq (as) is asked some questions and explains them all in extreme depth.
Modern medicine was developed by devout early Muslims so this question is posed in a vacuum abstract from the history of medicine.
Cupping is a medicinal technique for example. Although out dated with newer alternatives, there is still some merit to the method.
The concept of hygiene exists with washing hands before eating and separating the hands to do clean and dirty tasks.
The concept of quarantine started from Muslims as well I think.
In Islam there are two things regarding health and safety:
1) Good practice
2) Du'ah
Good practice involves medicine and taking care, due dilligence and sanitary awareness, du'ah is coupled with this by asking for protection and when ill asking for shifa.