The battery in baseball refers to the pitcher and catcher. Both roles are collectively known as the battery. They can sometimes be referred to as the batterymates or batterymen as well.
The battery’s job is to throw pitches and catch them in the hopes that the batter is striked out.
The catcher’s role is to stop a pitch and throw it towards the second or third base in an attempt to out runners.