Read the following stanza from Shakespeare's "As You Like It":
All the world's a stage, and all the men and women merely players;
They have their exits and their entrances;
And one man in his time plays many parts.
By comparing life to a play throughout this stanza, Shakespeare used
simile
metaphor
oxymoron
extended metaphor