Two-pair in poker is the hand made by holding two sets of pairs. In other words, we have two sets of two cards with identical rank e.g. KKAAQQ. The strength of a two-pair is always determined by the rank of its highest pair. So AA22K beats KKQQJ. Note that since poker hands are formulated with five cards, a two-pair type hand will leave room for one kicker. If two players have an identical two-pair, it is the kicker that determines the winner. Two-pair beats a pair but loses to three of a kind.
2 Pair Poker - Two Pair Poker in Hand Rankings
Miscellaneous Remarks, Ideas, Trials: Poker 1: Probabilities
Exact Same Poker Hand: Who Wins or Tie? - Board & Card Games Stack
How to Play Two-Pair Hands in Poker
Sets vs. Trips In Texas Hold'em
Poker Hand Ranking Official World Series of Poker Online
Poker, Principles, Types, Play, & History
What's Better: Three of a Kind or Two Pair?
Poker Order & Poker Hand Rankings
Poker 101 - How to Play Poker (A Beginner's Guide)