This scene is from the second act of Hamlet.
The author's choice to use a Soliloquy at this point
in the play helps advance the plot