This hand of poker is also known by the name of Quads. It consists of a set of 4 cards that each have the same rank no matter what suit they are in.
If 2 players both have Four of a Kind, they compare their hands to see who has the higher ranked Quad. If they tie, they compare their kicker card to find the winner.