They are both arts of lititure and both have the same purpose
Gerund as it functions as a subject of your sentence as well.
I can't tell what's the poem and what's the question, maybe can you put the poem in quotations? Either that or you didn't write it correctly.