Contact dermatitis is an inflammation of the skin caused by direct contact with chemicals or allergens. It can be either allergic, resulting from sensitization to a substance, or irritant, caused by direct skin damage from chemicals or physical agents. Diagnosis involves identifying the triggering substance through patch testing and treating the inflammation with topical corticosteroids and avoidance of the allergen or irritant. Proper skin care and patient education on preventing further irritation are also important aspects of management.