A volley is hit to the ball in the air that a player plays for the following reasons.
To hit the ball to keep it away from the non-volley zone.
To keep the ball away from your opponent.
To speed up your game and defeat the opponent.