A drive device for moving a window leaf or door leaf, having an electric machine comprising a, in particular single, stator and an, in particular single, rotor that is rotatable about a machine axis, and having a gear coupled to the electrical machine, wherein the gear has a first gear element that is rotatable coaxially with the machine axis, in particular wherein the first gear element is connected to the rotor in a rotationally-fixed manner, wherein the gear has a second gear element which is operatively connected to the first gear element, wherein an axis of rotation of the second gear element runs, in particular parallel to the machine axis, in an installation space between the machine axis and an outer lateral surface of the rotor that is extended virtually in the axial direction of the electric machine or an outer lateral surface of the stator that is extended virtually in the axial direction of the electric machine, further having an output shaft that is rotatable about an output axis for rotationally-fixed connection to a lever, and a closer module having a mechanical energy storage device and a transmission element for translating a linear movement of the mechanical energy storage device into a rotary movement of the transmission element, wherein the closer module comprises a closer gear wheel operatively connected to the energy storage device by means of the transmission element, and the gear has an output wheel which is coaxial with the output shaft and is rotationally fixed, characterised in that the output axis runs parallel or coaxially to the machine axis, and in that the output wheel engages with the closer gear wheel. having an electric machine comprising a, in particular single, stator and an, in particular single, rotor that is rotatable about a machine axis, and having a gear coupled to the electrical machine, wherein the gear has a first gear element that is rotatable coaxially with the machine axis, in particular wherein the first gear element is connected to the rotor in a rotationally-fixed manner, wherein the gear has a second gear element which is operatively connected to the first gear element, wherein an axis of rotation of the second gear element runs, in particular parallel to the machine axis, in an installation space between the machine axis and an outer lateral surface of the rotor that is extended virtually in the axial direction of the electric machine or an outer lateral surface of the stator that is extended virtually in the axial direction of the electric machine, further having an output shaft that is rotatable about an output axis for rotationally-fixed connection to a lever, and a closer module having a mechanical energy storage device and a transmission element for translating a linear movement of the mechanical energy storage device into a rotary movement of the transmission element, wherein the closer module comprises a closer gear wheel operatively connected to the energy storage device by means of the transmission element, and the gear has an output wheel which is coaxial with the output shaft and is rotationally fixed, characterised in that the output axis runs parallel or coaxially to the machine axis, and in that the output wheel engages with the closer gear wheel.