Question: who says what a piece of work is man
Answer: `` What a piece of work is man ! '' is a phrase within a monologue by Hamlet in William Shakespeare 's eponymous play .