Magnetic device adapted to be used as generator of electricity if a kinetic energy is applied or as magnetic driving motor if an electrical energy is applied, comprising; a shaft , the axis of the shaft defining the axial, radial and circumferential directions, a central winding of circumferentially arranged coils, each of the coils formed by a core of magnetic material with a winding coil of conductive wire, and at least, a first disk and a second disk with several magnetic poles coupled to the shaft with possibility of rotation about the shaft, wherein the central winding is located axially between the first and second disks and coupled to the shaft without possibility of rotation about the shaft: wherein the magnetic poles are radially located in the first and second disks, with the polarity successively alternating, positive and negative; characterized in that the central winding comprises at least two coils whose cores have a configuration that presents, on both circumferential sides, ends having tilted sides , with the same inclination with respect to the axis of the shaft , each finishing in an edge ; in that the said cores of adjacent coils of the said at least two coils are located at such a distance between them that their ends having tilted sides with the edge are axially overlapping each other; and in that , in addition, the first disk is connectable to an external element so as to transmit movement between them, where, when the device is used as generator of electricity, the movement of the first disk produces the excitation of the coils which, in turn, produces the rotation of the second disk in an opposite direction, whilst, when the device is used as a magnetic driving motor, the excitation of the coils with the electrical energy produces the rotation of the first and second disks (3. 4) in opposite directions. a shaft , the axis of the shaft defining the axial, radial and circumferential directions, a central winding of circumferentially arranged coils, each of the coils formed by a core of magnetic material with a winding coil of conductive wire, and at least, a first disk and a second disk with several magnetic poles coupled to the shaft with possibility of rotation about the shaft, wherein the central winding is located axially between the first and second disks and coupled to the shaft without possibility of rotation about the shaft: wherein the magnetic poles are radially located in the first and second disks, with the polarity successively alternating, positive and negative; characterized in that the central winding comprises at least two coils whose cores have a configuration that presents, on both circumferential sides, ends having tilted sides , with the same inclination with respect to the axis of the shaft , each finishing in an edge ; in that the said cores of adjacent coils of the said at least two coils are located at such a distance between them that their ends having tilted sides with the edge are axially overlapping each other; and in that , in addition, the first disk is connectable to an external element so as to transmit movement between them, where, when the device is used as generator of electricity, the movement of the first disk produces the excitation of the coils which, in turn, produces the rotation of the second disk in an opposite direction, whilst, when the device is used as a magnetic driving motor, the excitation of the coils with the electrical energy produces the rotation of the first and second disks (3. 4) in opposite directions. <EOS>