The invention relates to a motor vehicle (1) having a plurality of battery elements (2) which are present in modules of a first type (3) and of a second type (4), each containing a plurality of battery elements (2), wherein, in a module of the first type (3), the battery elements are arranged in a group in such a way as to be able to be shifted relative to one another, depending on an introduction of force, with the group being deformed, and, in a module of the second type (4), the arrangement of the battery elements (2) is able to be shifted, depending on an introduction of force, without any damage being caused but only while retaining its shape, wherein battery elements (2) are installed as modules of the first type (3) in a first region of the motor vehicle (1) having a low stiffness in comparison to a second region of the motor vehicle (1), in which first region a body of the motor vehicle (1) is designed for force-dissipating deformation in the event of an accident, and battery elements (2) are installed as modules of the second type (4) in the second region of the motor vehicle (1) having an increased stiffness in comparison to the first region of the motor vehicle (1), in which second region the body of the motor vehicle (1) is designed to retain its shape in the event of an accident, in order to increase the operational safety of the motor vehicle (1) and to reduce the weight.