They refers back to the children, which is an anaphoric reference.
Previous Question
Which sentence contains anaphoric reference?
Next Question
Which sentence does not contain cataphoric reference?