Complex sentence: As a medication it is used to treat psoriasis and seborrheic dermatitis (dandruff) by application to the affected area, and may be used together with ultraviolet light therapy.
Split into simpler sentences: As a medication it is used to treat psoriasis and seborrheic dermatitis (dandruff). It is used by application to the affected area and may be used together with ultraviolet light therapy.