Folding is when you decline to continue betting during a hand. The player sits out the rest of the hand. One of the hardest skills in poker is folding in the right situation.
It's human nature to want to know what your opponent holds, but paying for that information is not always worth it.