What kind of sentence is All the world is a stage?
It is a metaphor because the world isn't really a stage.