Patch testing is a diagnostic procedure used to identify specific substances that cause delayed-type hypersensitivity reactions, also known as allergic contact dermatitis. It involves the application of small amounts of various potential allergens to the skin, usually on the back, to observe whether an allergic reaction occurs.