Chloroquine is an antimalarial medication used to treat and prevent malaria.