Primaquine is an antimalarial drug that is primarily used to prevent and treat Plasmodium vivax and Plasmodium ovale malaria infections. It is effective against the dormant liver stage of these parasites, known as hypnozoites, which can cause relapses of malaria even after initial treatment.