The 5-7-5 Society was an organization of young women who specialized in the art of poetry, with a focus on traditional haiku. Taught by the strict and disciplined Madame Macmu-Ling, only the wealthy young ladies of the upper echelon of families in Ba Sing Se were allowed to join the group. The society even had a guard who threw out people unworthy of the art. They had poetry meetings, during which haiku were recited by each member. In addition to practicing haiku, the girls also enjoyed tea parties, garden parties, and parties in general.
While listening through a window to members of the society reciting poetry, Sokka was accidentally kicked through the window and onto the stage by an unruly ostrich horse. He apologized to the ladies present, accidentally speaking in haiku form, which impressed the young ladies but irritated Madame Macmu-Ling. Sokka further impressed the group by continuing to speak in haiku form, albeit not very eloquently, eventually outdoing Madame Macmu-Ling herself. Becoming overconfident, Sokka added one final haiku at the end as an encore, but mistakenly added a sixth syllable to the final line. The members of the society glared at him in silence, and he was promptly thrown out the building by a guard.