The three elements of communities of practice are domain, community, and practice. Domain refers to the shared interest or area of expertise, community refers to the group of people who share this interest, and practice refers to the shared knowledge, skills, and experiences that are developed and exchanged within the community.