A battery in chess is a formation that consists of two or more pieces on the same rank, file, or diagonal. It is a tactic involved in planning a series of captures to remove the protection of the opponent's king, or to simply gain in the exchanges.
Other chess authors limit battery to "an arrangement of two pieces in line with the enemy king on a rank, file, or diagonal so that if the middle piece moves a discovered check will be delivered." However, in Chessgames.com blogs and game annotations of other chess websites, the term is also used in cases where moving the middle piece will uncover a threat other than a check along the opened line.
It is particularly effective to form a battery using rooks because they may be combined to occupy the same rank or file. In theory, bishops may also form a battery in a case of underpromotion of a pawn to a bishop occupying the same diagonal as the other bishop. In actual games, however, the queen and rooks are often employed.
Batteries are often used as part of a combination which may involve other types of chess tactics as well. In some chess openings, the queen is often involved in the set up, and becomes part of a battery but is reserved for the final capture in the series of exchange of pieces. For example, in the main line of the Closed Sicilian characterized by 2.Nc3 Nc6 3.g3 g6 4.Bg2 Bg7 5.d3 d6, where White's main options are 6.Be3 followed by Qd2 and 0-0-0; and 6.f4 followed by Nf3 and 0-0, White's intention is to form a battery with his rooks.