How do we master complex skills

We learn by mastering complex skills. But what is the learning process? Is it the environment that promotes learning? Is it the fun in being able to perform new skills? It still remains a mystery to me. But better way to learn more on how mastering complex skills occur that than to watch a child 'picks up' on the unteachable...