What is doxycycline used to cure?

Doxycycline is used to cure acne, bacterial infections, anthrax infections, and is used for the prevention of malaria.