Poetry is written with rhythm and rhyme. It consists of a certain unique pattern, whereas prose is simple writing blocks consisting of simple writings and paragraphs.
Lyrics are considered poetry, a novel or short story would be prose. Prose has no line breaks. Poetry does.
Prose is restricted by grammar—
Poetry is not.
Prose utilizes paragraphs; poetry uses verses (stanzas).
Did Shakespeare write poetry? Yes. You may be inclined to think of him as strictly a poet, but hardly any poet is because any other form of writing would be prose. Unfortunately, No one goes a whole lifetime writing poetry alone. 😢