In literature, the techniques that are used to help the author achieve their purpose are called literary devices.