The word under is a preposition, because it indicates where the children were / sat.
7.2m questions
9.5m answers