Sunscreen contains active ingredients that either absorb or reflect UV rays. There are two main types: chemical sunscreens and physical sunscreens. Chemical sunscreens absorb UV radiation, while physical sunscreens reflect UV rays away from the skin. Both types have their benefits and choosing the right one depends on the patient's skin type and specific needs.