It is a part of the game but rather for the player’s own understanding of the game. Most players do this so that they get a fair idea regarding the ball and how far it will travel in the right manner. In other words, you can say that players do it just as a warm-up activity.