Two Pair consists of 2 cards of the same rank, another 2 cards with the same rank but different from the rank of the first 2 cards, and another card of a different rank.
If more than 1 player has a two pair, the hand with the highest ranking pair wins.
If more than 1 player have the highest ranking pair, the highest ranking second pair wins.
If both pairs have the same ranks, the hand with the highest ranking kicker wins.