What is a Literary Device?

A literary device is a descriptive that helps explain a situation more thoroughly. For instance, an analogy or a metaphor might be considered a literary device.