Learning by watching and thinking

People learn by observing and imitating models, as Bandura's Bobo doll studies showed, and animals and people also learn by insight and form cognitive maps that show up only when they need them (latent learning).

From AP Psychology.