Patch testing is a procedure used to identify allergens responsible for causing contact dermatitis. Small amounts of potential allergens are applied to the skin under patches, and the skin's reaction is monitored over time. Patch testing is commonly used in dermatology to diagnose allergic reactions to various substances, including metals, chemicals, and other environmental allergens.