A device for controlling a flow and distributing a fluid, in at least one fluid circuit, comprising a housing fitted with connections for connection to fluid lines that are connected to at least one internal volume of the housing via a pass-through opening, and at least one valve element that is arranged in the at least one internal volume of the housing and further comprises a drive element for moving the at least one valve element relative to the housing, wherein the at least one valve element further comprises at least one pass-through opening and is mounted in such a way that it can be moved linearly in an axial direction along a longitudinal axis such that a passage for the fluid is opened between a first one of the connections, that is produced as an inlet, and a second one of the connections, that is produced as a primary outlet, or a third one of the connections produced as a secondary outlet, and that the device further comprises at least one first pressure chamber and a second pressure chamber that are each produced on an end face of the at least one valve element, which are both aligned in the axial direction, as an area of the internal volume of the housing.