Players on the batting team take turns hitting against the pitcher of the fielding team , which tries to prevent runs by getting hitters out in any of several ways .
There are many ways to get batters out , and runners can also be gotten out .