Our memory is a complicated brain and body function that does not develop in most humans until they are walking and talking . Attachment theory deals with this forgotten period of human life. It suggests that small differences at the beginning of a process can lead to hugely different outcomes through the rest of our lifetime . This means that some of our responses and acts are established and hard to break. Babies does not ‘’program’’ themselves. They learn this from caregivers. Early experience has massive impact on unformed babies brains and can be fill with ‘’anything’’ in order to survive.
Figure 1: The brain development.

Figure 1 source:

The main source of attachment I am going to use as an example base on the John Bowlby theory who defined attachment as the reciprocal process between two individuals who form an enduring effectual bond. Bolwby considered attachment and bonding to be a biological need of the infant. He identified the following as important elements to forming a secure attachment:
1. Attunement between mother and infant/child that builds the neural connections that are necessary for relationships. Additionally, the infant’s nervous system develops the capacity to self - regulate through the mother’s attending to the distress.
2. Secure Base that is the infant internal sense of security. The relationship is consistent and predictable. This predictability provides the infant with the security and confidence to explore the environment.
Human babies are born utterly helpless. They are completely dependent on their carers for survival. Organisms suffer great stress if they cannot actively contribute to their own survival. Babies gain control of their careers in order to survive. When they are reassured that the carer is attending to them, babies respond to this first life-giving attention by beginning to relax and trust that life on earth will be possible...