Why are they called sandbox games?

A sandbox game is a video game that offers players a lot of creativity to do chores in order to achieve a goal in the game if such a goal exists. The term “sandbox” stems from the nature of a sandbox that allows kids to produce almost whatever they wish.