The science behind children’s tendency to gather excessive information

Scientists have learned that children find it hard to focus on a task, and often take in information that won’t help them complete their assignment. But the question is, why?