It is used to treat severe cases of psoriasis (a skin disease) and rheumatoid arthritis (a disease of the joints).