The two forces acting on the baseball as it moves through the air are gravity and friction. Gravity pulls the ball downward, while friction from the air (air resistance) acts against its motion. Therefore, the correct response is:
gravity and friction.