There are four main types of attachment styles: secure, anxious-preoccupied, dismissive-avoidant, and fearful-avoidant. Each style reflects the nature of the child's relationship with their caregiver and affects their emotional regulation, behavior in relationships, and self-esteem. These styles are formed in early childhood but can evolve with new relationship experiences.