Idiom: an idiom is the use of words meaning one thing but meant to mean another thing.
Metaphor: the comparing of two unlike things using like or as.
Allusion: a reference to another work of art/literature.