What is it when a pitched ball bounces and the batter swings and hits it in fair territory and it is caught on a fly by a defensive player . Does it count as a fly ball or a ball that already bounced?

The bounce took place before the ball was hit so the ball is a fly ball.