A battery, comprising: a battery cell , a first wall of the battery cell being provided with a pressure relief mechanism , and the pressure relief mechanism being configured to be actuated when an internal pressure or temperature of the battery cell reaches a threshold, to relieve the internal pressure; a fire-fighting pipeline configured to accommodate a fire-fighting medium and the fire-fighting pipeline being configured to discharge the fire-fighting medium when the pressure relief mechanism is actuated; a first fixing member , disposed on a side of the fire-fighting pipeline close to the first wall , the first fixing member being provided with a first limiting part and a second limiting part ; and a second fixing member , disposed on a side of the fire-fighting pipeline away from the first wall , the second fixing member being provided with a third limiting part and a fourth limiting part , the third limiting part and the first limiting part being matched with each other to fix the fire-fighting pipeline between the first fixing member and the second fixing member , the fourth limiting part and the second limiting part being matched with each other to limit the second fixing member in a first direction, and the first direction being parallel to an extending direction of the fire-fighting pipeline ; the battery being characterized in that the third limiting part comprises a buckle extending in the first direction; the fourth limiting part is an opening disposed in the buckle ; the first limiting part is a groove matched with the buckle ; the second limiting part is a stopper matched with the opening , and when the buckle is buckled into the groove , the stopper is located within the opening to limit movement of the buckle in the first direction. a battery cell , a first wall of the battery cell being provided with a pressure relief mechanism , and the pressure relief mechanism being configured to be actuated when an internal pressure or temperature of the battery cell reaches a threshold, to relieve the internal pressure; a fire-fighting pipeline configured to accommodate a fire-fighting medium and the fire-fighting pipeline being configured to discharge the fire-fighting medium when the pressure relief mechanism is actuated; a first fixing member , disposed on a side of the fire-fighting pipeline close to the first wall , the first fixing member being provided with a first limiting part and a second limiting part ; and a second fixing member , disposed on a side of the fire-fighting pipeline away from the first wall , the second fixing member being provided with a third limiting part and a fourth limiting part , the third limiting part and the first limiting part being matched with each other to fix the fire-fighting pipeline between the first fixing member and the second fixing member , the fourth limiting part and the second limiting part being matched with each other to limit the second fixing member in a first direction, and the first direction being parallel to an extending direction of the fire-fighting pipeline ; the battery being characterized in that the third limiting part comprises a buckle extending in the first direction; the fourth limiting part is an opening disposed in the buckle ; the first limiting part is a groove matched with the buckle ; the second limiting part is a stopper matched with the opening , and when the buckle is buckled into the groove , the stopper is located within the opening to limit movement of the buckle in the first direction. <EOS>