Could someone pls help me with English?

Identify the use of nonsense techniques in this poem:
There was an Old Man with a beard,
Who said, 'It is just as I feared!
Two Owls and a Hen,
Four Larks and a Wren,
Have all built their nests in my beard!'

Thank you for your time!!