Chess players touch all their pieces before a game to confirm that they are all on the right squares before they play. This is important as moving a piece from the wrong square when you begin (such as a knight on a bishop’s space) can instantly disqualify you from the game. It’s part of the general etiquette of chess.
In the majority of cases, chess players resign because one player believes that they are no longer able to win the game. However, many chess players, particularly beginners may resign far too early and while the option to resign is always open to you (whether you are winning or losing) you might want to think twice before you do so.