A device for transferring heat between a first module and a second module, the device comprising: a first unit configured to be thermally coupled to the first module; characterized in that: the first unit is fixed in relation to the first module such that the first unit does not move relative to the first module; and the device further comprises: a holder for holding the second module, a second unit movable in a first direction in relation to the first unit and the holder, and a biasing apparatus for urging the second unit away from the first unit, thereby urging the second unit against the second module when the second module is held in the holder, wherein the first unit and the second unit are thermally coupled to one another, wherein one of the first and second units (110, 112) comprises a plurality of protrusions and the other one of the first and second units (110, 112) comprises a plurality of cavities, each cavity of the plurality of cavities being complementary to one of the plurality of protrusions, wherein each protrusion of the plurality of protrusions engages one of the plurality of cavities, wherein each protrusion of the plurality of protrusions has a contact surface, and each cavity of the plurality of cavities has a contact surface, the contact surface of each protrusion of the plurality of protrusions facing the contact surface of one of the plurality of cavities. a first unit configured to be thermally coupled to the first module; characterized in that: the first unit is fixed in relation to the first module such that the first unit does not move relative to the first module; and the device further comprises: a holder for holding the second module, a second unit movable in a first direction in relation to the first unit and the holder, and a biasing apparatus for urging the second unit away from the first unit, thereby urging the second unit against the second module when the second module is held in the holder, wherein the first unit and the second unit are thermally coupled to one another, wherein one of the first and second units (110, 112) comprises a plurality of protrusions and the other one of the first and second units (110, 112) comprises a plurality of cavities, each cavity of the plurality of cavities being complementary to one of the plurality of protrusions, wherein each protrusion of the plurality of protrusions engages one of the plurality of cavities, wherein each protrusion of the plurality of protrusions has a contact surface, and each cavity of the plurality of cavities has a contact surface, the contact surface of each protrusion of the plurality of protrusions facing the contact surface of one of the plurality of cavities. the first unit is fixed in relation to the first module such that the first unit does not move relative to the first module; and the device further comprises: a holder for holding the second module, a second unit movable in a first direction in relation to the first unit and the holder, and a biasing apparatus for urging the second unit away from the first unit, thereby urging the second unit against the second module when the second module is held in the holder, a holder for holding the second module, a second unit movable in a first direction in relation to the first unit and the holder, and a biasing apparatus for urging the second unit away from the first unit, thereby urging the second unit against the second module when the second module is held in the holder, wherein the first unit and the second unit are thermally coupled to one another, wherein one of the first and second units (110, 112) comprises a plurality of protrusions and the other one of the first and second units (110, 112) comprises a plurality of cavities, each cavity of the plurality of cavities being complementary to one of the plurality of protrusions, wherein each protrusion of the plurality of protrusions engages one of the plurality of cavities, wherein each protrusion of the plurality of protrusions has a contact surface, and each cavity of the plurality of cavities has a contact surface, the contact surface of each protrusion of the plurality of protrusions facing the contact surface of one of the plurality of cavities.