I assume it’s because some toys can be choking hazards for younger children, and toys like dolls are more entertaining to a younger child where as an older child might want something more sophisticated like legos or something techy.
The functiinfunction is provided with an input text when called upon, then it changes every character in the text into lower case and split each word with a space.