Photopatch testing is a specialized diagnostic procedure used in toxicology and dermatology to identify substances that may cause allergic reactions or skin irritation when exposed to ultraviolet light. This test is particularly useful for diagnosing photoallergic contact dermatitis, a condition where a chemical causes an allergic reaction only after the skin is exposed to sunlight.