Flagship

In the event of a large-scale battle involving multiple ships on both sides, a fleet's flagships acts as a general for the other ships, directing their actions during battle. Essentially, a flagship in Starfleet or any other fleet plays the same role as a flagship in a naval battle.