Chloroquine is a medication traditionally used for the prevention and treatment of malaria. It is also utilized in the management of autoimmune diseases like rheumatoid arthritis and lupus. The drug works by interfering with the growth of parasites in the red blood cells.