Abstract: A work machine, such as a wheeled loader or dumper, has a cooling and heating system comprising a main line (2) arranged to contain a fluid, a first heat exchanger (4) which is connected to the main line (2), and a charge-air cooler (8) for cooling compressed charge air for an internal combustion engine (12) arranged in the machine, which charge-air cooler (8) is connected to the main line (2). A second heat exchanger (10) is connected to the main line (2) downstream of the charge-air cooler (8), to which second heat exchanger (10) a hydraulic liquid line (14) is connected, so that heat can be transferred between the fluid in the main line (2) and the hydraulic liquid in the hydraulic liquid line (14).