A Pump for compressing and/or transporting a fluid, having a) a pump housing, comprising i) a first fluid port and ii) a second fluid port which is in fluid connection with the first fluid port, b) a pump motor, i) which is arranged in the pump housing, c) a fluid mover for transporting the fluid, wherein the fluid mover is i) drivable by the pump motor, and ii) in the pump housing, and d) an electrical assembly for controlling the pump motor in the pump housing, and e) at least one fluid receiving space in the pump housing for cooling the electrical assembly using fluid flowing from the first fluid port to the second fluid port, i) wherein the at least one fluid receiving space runs adjacent to the electrical assembly in the pump housing, ii) wherein the at least one fluid receiving space is delimited by a side wall in a first housing part of the pump housing, said side wall having a fluid aperture, iii) wherein a first fluid connecting space is downstream of said aperture, iv) wherein said first fluid connecting space receives fluid from said aperture, v) wherein said fluid received by said first fluid connecting space cools said motor and is the fluid which flows from the first fluid port to the second fluid port. a) a pump housing, comprising i) a first fluid port and ii) a second fluid port which is in fluid connection with the first fluid port, i) a first fluid port and ii) a second fluid port which is in fluid connection with the first fluid port, b) a pump motor, i) which is arranged in the pump housing, i) which is arranged in the pump housing, c) a fluid mover for transporting the fluid, wherein the fluid mover is i) drivable by the pump motor, and ii) in the pump housing, and i) drivable by the pump motor, and ii) in the pump housing, and d) an electrical assembly for controlling the pump motor in the pump housing, and e) at least one fluid receiving space in the pump housing for cooling the electrical assembly using fluid flowing from the first fluid port to the second fluid port, i) wherein the at least one fluid receiving space runs adjacent to the electrical assembly in the pump housing, ii) wherein the at least one fluid receiving space is delimited by a side wall in a first housing part of the pump housing, said side wall having a fluid aperture, iii) wherein a first fluid connecting space is downstream of said aperture, iv) wherein said first fluid connecting space receives fluid from said aperture, v) wherein said fluid received by said first fluid connecting space cools said motor and is the fluid which flows from the first fluid port to the second fluid port. i) wherein the at least one fluid receiving space runs adjacent to the electrical assembly in the pump housing, ii) wherein the at least one fluid receiving space is delimited by a side wall in a first housing part of the pump housing, said side wall having a fluid aperture, iii) wherein a first fluid connecting space is downstream of said aperture, iv) wherein said first fluid connecting space receives fluid from said aperture, v) wherein said fluid received by said first fluid connecting space cools said motor and is the fluid which flows from the first fluid port to the second fluid port.