Chloroquine is a medication primarily used to prevent and treat malaria. It has also been used for autoimmune diseases such as rheumatoid arthritis and lupus. Structurally, chloroquine is a 4-aminoquinoline compound that demonstrates both therapeutic and toxicological effects on cells.