A ball was a formal event where dancing was the main activity.
A ball was a significant element of the Earth fairy tale Cinderella. In 2267, during an encounter with Trelane, James T. Kirk told a formally dressed Yeoman Teresa Ross to "turn in (her) glass slippers; the ball is over." (TOS: "The Squire of Gothos")