A heating and cooling apparatus comprising: a plurality of heating and cooling modules (100, 100a, 100b, 100c, 100d), each of the heating and cooling modules including: a first heat exchanger (104, 104a), a second heat exchanger (106, 106a) and a third heat exchanger (108, 108a); a compressor; a first fluid line for a first fluid coupled to the first heat exchanger (104, 104a); a second fluid line for a second fluid coupled to the second heat exchanger (106, 106a); a refrigerant line system (110, 110a) coupled to the first, second and third heat exchangers and configured to: direct refrigerant fluid through the first and third heat exchangers and the compressor, to cool the first fluid, in a first mode of operation; direct the refrigerant fluid through the second and third heat exchangers and the compressor, to heat the second fluid, in a second mode of operation; and direct the refrigerant fluid through the first and second heat exchangers and the compressor, to cool the first fluid and heat the second fluid, in a third mode of operation; and a central control system configured to operate the plurality of heating and cooling modules (100, 100a, 100b, 100c, 100d) such that one or more heating and cooling modules of the plurality of heating and cooling modules (100, 100a, 100b, 100c, 100d) operates in one of the first mode of operation, the second mode of operation, and the third mode of operation, wherein each of the heating and cooling modules (100, 100a-d) is connected to: a first fluid-in pipeline and a first fluid-out pipeline by the first fluid line of the respective heating and cooling module (100, 100a-d); and a second fluid-in pipeline and a second fluid-out pipeline by the second fluid line of the respective heating and cooling module (100, 100a-d), wherein the first fluid line and the second fluid line of each of the heating and cooling modules (100, 100a-d) are independent and separate from one another, thereby maintaining separation of the first and second fluids. a plurality of heating and cooling modules (100, 100a, 100b, 100c, 100d), each of the heating and cooling modules including: a first heat exchanger (104, 104a), a second heat exchanger (106, 106a) and a third heat exchanger (108, 108a); a compressor; a first fluid line for a first fluid coupled to the first heat exchanger (104, 104a); a second fluid line for a second fluid coupled to the second heat exchanger (106, 106a); a refrigerant line system (110, 110a) coupled to the first, second and third heat exchangers and configured to: direct refrigerant fluid through the first and third heat exchangers and the compressor, to cool the first fluid, in a first mode of operation; direct the refrigerant fluid through the second and third heat exchangers and the compressor, to heat the second fluid, in a second mode of operation; and direct the refrigerant fluid through the first and second heat exchangers and the compressor, to cool the first fluid and heat the second fluid, in a third mode of operation; and a first heat exchanger (104, 104a), a second heat exchanger (106, 106a) and a third heat exchanger (108, 108a); a compressor; a first fluid line for a first fluid coupled to the first heat exchanger (104, 104a); a second fluid line for a second fluid coupled to the second heat exchanger (106, 106a); a refrigerant line system (110, 110a) coupled to the first, second and third heat exchangers and configured to: direct refrigerant fluid through the first and third heat exchangers and the compressor, to cool the first fluid, in a first mode of operation; direct the refrigerant fluid through the second and third heat exchangers and the compressor, to heat the second fluid, in a second mode of operation; and direct the refrigerant fluid through the first and second heat exchangers and the compressor, to cool the first fluid and heat the second fluid, in a third mode of operation; and direct refrigerant fluid through the first and third heat exchangers and the compressor, to cool the first fluid, in a first mode of operation; direct the refrigerant fluid through the second and third heat exchangers and the compressor, to heat the second fluid, in a second mode of operation; and direct the refrigerant fluid through the first and second heat exchangers and the compressor, to cool the first fluid and heat the second fluid, in a third mode of operation; and a central control system configured to operate the plurality of heating and cooling modules (100, 100a, 100b, 100c, 100d) such that one or more heating and cooling modules of the plurality of heating and cooling modules (100, 100a, 100b, 100c, 100d) operates in one of the first mode of operation, the second mode of operation, and the third mode of operation, wherein each of the heating and cooling modules (100, 100a-d) is connected to: a first fluid-in pipeline and a first fluid-out pipeline by the first fluid line of the respective heating and cooling module (100, 100a-d); and a second fluid-in pipeline and a second fluid-out pipeline by the second fluid line of the respective heating and cooling module (100, 100a-d), a first fluid-in pipeline and a first fluid-out pipeline by the first fluid line of the respective heating and cooling module (100, 100a-d); and a second fluid-in pipeline and a second fluid-out pipeline by the second fluid line of the respective heating and cooling module (100, 100a-d), wherein the first fluid line and the second fluid line of each of the heating and cooling modules (100, 100a-d) are independent and separate from one another, thereby maintaining separation of the first and second fluids.