A litany was a traditional form of a prayer.
Vulcans spoke a traditional litany that had been passed down by generations when offering the Stone of J'Kah. (ENT: "The Andorian Incident")
The term was sometimes used to describe a long list. (ENT: "Babel One", VOY: "Demon")