Seven ages is a poem written by william shakespeare . the lines in this poem has been taken from one of the shakespeare play as you like it a melancholy character jaques speak these lines . shakespeare compares the world with a stage the words , entrance or exit i compared to birth and death . shakespeare says that evry person in this world plays a role and after it they died . the first age infant and the second age is schoolboy and the third age is lover fourth one is soldier and the fifth age is judge and the sixth is old age and the last age is xtremely old age whick is also known as second childhood