The purpose of a poetry slam is to provide a platform for poets to share their work in a competitive setting. Poets perform their pieces in front of an audience and are judged based on their performance, originality, and connection with the audience. Poetry slams are often used as a form of artistic expression, social commentary, and community building.