How do you know if you can win in texas hold'em? - eviltoast

I’m trying to learn how to play and I understand what community cards are, what they do, who goes first/last, etc, but how do the cards in your hand effect the game? I can’t find the answer anywhere and it’s getting confusing.