Examples are: metaphor, simile, alliteration, hyperbole, allegory etc. In contrast to Literary Elements, Literary Techniques are not unavoidable aspect of literary works.
I've always wanted to learn why women's pants don't have pockets all of the time, tbh-