The attachment theory suggests that the early emotional bonds and attachment styles between caregivers and infants can shape later relationships and attachment styles. It proposes that these attachment styles can continue to influence relationships throughout adulthood.