Epoxy resins are primarily used as adhesives (option D). Epoxy resins form strong bonds when cured and are widely used in construction, automotive, and marine applications as structural adhesives. They are not typically used as moth repellants, insecticides, or detergents.