Whereas Mahler studied the task of separating, John Bowlby developed attachment theory, also based on early child development, but which focused on how attachment defines our sense of self and others.