In poker, players construct sets of five playing cards, called hands, according to the rules of the game being played.

A flush is a poker hand containing five cards all of the same suit, not all of sequential rank. It ranks below a full house and above a straight. Under ace-to-five low rules, flushes are not recognized, and a hand that would be categorized as a flush is instead a high card hand.

There are 5,108 possible flush hands and 1,277 distinct ranks of flush under high rules when using a standard 52-card deck. Each flush is ranked first by the rank of its highest-ranking card, then by the rank of its second highest-ranking card, then by the rank of its third highest-ranking card, then by the rank of its fourth highest-ranking card, and finally by the rank of its lowest-ranking card.

More Info: en.wikipedia.org