Both drugs are used as antimalarial agents and as immunomodulatory therapies for rheumatologic diseases.