A compressor, which is cooled by cooling medium, includes a compression
chamber, a first cooling chamber and a second cooling chamber. In the
compression chamber, gas is compressed and then discharged therefrom. The
first cooling chamber, in which the cooling medium flows, is provided so
as to adjoin the compression chamber for cooling the gas in the
compression chamber. The second cooling chamber adjoins the first cooling
chamber. The second cooling chamber has a gas passage in which the
discharged gas flows and a medium passage in which the cooling medium
flows. The medium passage is arranged so as to restrain transmission of
heat of the discharged gas in the gas passage to the cooling medium in
the first cooling chamber.