Attachment theory, developed by psychologist John Bowlby, proposes that the early relationships and bonds formed between infants and their caregivers shape individuals' attachment styles, which influence their emotional and relational patterns throughout life.