Where does the fish sleep? Is it poetry or nursery rhymes?

Poetry.

According to the query in the cool dog, the place where the fish sleeps is displayed as a children's poem.

Nurseryrhyme is a short poem with folk flavor, which is mainly accepted by children.