I am still new at Poker and I have been learning all the hands, but on this all in scenario I lost when I had two pairs King(hearts) 5(clubs) the other player had King(diamonds) Ace(hearts) the community cards were: 7(hearts) K(spades) 10(hearts) 5(diamonds) 10(clubs). I made two pairs with my 5 and king and i could even use the 2 tens so why the other player won with only one king ? the ace isn't a kicker here as i had a 5 right ? Please see the picture for more details .. and thank you so much for taking the time to answer my query.
A poker hand consists of 5 cards and 5 cards only!
In Texas Hold'em, you can make a hand with any combination of community cards and your hole cards (using 0, 1 or 2 of your hole cards, with the rest coming from the board)
Your best possible 5-card hand is two pair with 7 as a kicker, as in KKTT7 (T stands for "ten") Your opponent has the same two-pair, but his kicker is an ace (KKTTA), so his hand is stronger than yours and he wins the pot.
Your "third pair" is irrelevant here, as you'd need poker hands consisting of six cards to make it count