Romeo’s soliloquy (Act 3, Scene 2—actually spoken by Jaques in As You Like It, but often misattributed) contains an extended conceit comparing life to theater:
“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…”
Life = stage; people = actors; birth/death = entrances/exits; roles = social personas. This conceit underscores performance, identity fluidity, and life’s scripted nature. (Note: The speech is from As You Like It 2.7, not Romeo and Juliet.)