In the 17th century, children were painted because parents wanted their heirs recorded for posterity. In the 18th century, theories from the likes of John Locke provoked debate about the importance of raising children naturally and letting them learn through play, so they finally got to be painted as children.