There are lots of ways to hit a baseball. It all depends on your leg dominance and the type of stance that is most comfortable to you. There are three types of stances you can use during your at-bat:
The square batting stance is the most common stance. The batter stands with both his feet an equal distance from the plate, and parallel to the side of the batter's box. It allows batters to see the pitcher with both eyes, and to be in a good, balanced position to hit any pitch.
The open batting stance is when the batter stands with his front foot farther from home plate than his back foot. This causes his chest to be facing the pitcher slightly, making him "open" to the pitcher. It allows batters to track the pitch better, and to pull the ball.
The closed batting stance is when the batter stands with his back foot farther home plate than his front foot. Since this causes his back to be facing the pitcher slightly, he is "closed" to the pitcher. Although this stance makes it harder to see the ball, some batters claim it helps them hit the ball more powerfully.