NOVELTY - The device has a housing (1a) and a separate housing surrounding battery cells (4) of a traction battery (3). A coating (6) is applied on walls (5) of the respective housings. The walls are oriented toward the battery cells. The coating forms foam during exceedance of predetermined temperature and/or during contact with predetermined gas released from the battery cells, where the foam spreads out in the housings. The housing is designed as a part of a body structure. The separate housing is designed as a cover (7) of the battery cells.    USE - Device for arrangement of a traction battery within a vehicle body for supply of electrical energy to a traction motor in a vehicle e.g. hybrid vehicle and electric vehicle.    ADVANTAGE - The coating forms the foam during exceedance of the predetermined temperature and/or during contact with the predetermined gas released from the battery cells, where the foam spreads out in the housings, thus achieving thermal protection of the walls of the respective housings and significantly increasing thermal resistance of the housings. The housings can be sealed in a gas tight manner, thus preventing leakage of gas from the battery cells and supply of oxygen to the battery cells so that emergence of fire is prevented. The device ensures that significant elongation of remaining time is achieved in a hazardous condition to protect the vehicle equipped with the traction battery against major damages or even to rescue people. The device can be utilized for various types of vehicles with very little effort, negligible increase in weight, very small space requirement and low cost. The device allows the traction battery to be completely dismantled and repaired during a maintenance case.    DETAILED DESCRIPTION - The gas is selected from one of hydrogen, carbon monoxide, carbon dioxide, methane, propane and ethane.    DESCRIPTION OF DRAWING(S) - The drawing shows a perspective view of a device for arrangement of a traction battery within a body of a motor vehicle, in a non-triggered state.    Housing (1a)    Traction battery (3)    Battery cells (4)    Walls (5)    Coating (6)    Cover (7)