Update the given text to be simpler
Quinine is a medication used to treat malaria and babesiosis.
Even today, quinine is used to treat certain forms of malaria, when other drugs fail or are unavailable.