In "The Veldt" by Ray Bradbury, the Hadleys had a holographic nursery installed for their children when they were younger. This room can be anything the children want it to be, and they can interact with it however they wish. The nursery takes the place of a nanny or a babysitter. In the Hadleys' case, the nursery takes over as their parents.
However, when the psychologist David McClean comes to visit, he tells George Hadley that these nurseries were originally used by psychologists. A child could go into a room and he/she would leave imprints on the walls of what he/she was thinking and doing while in there. Psychologists could then study these patterns and hopefully help a child who was having emotional or psychological problems.