Above ans is not satisfactory
Compressor always compress medium which we use so that pressur and temp. Increses and use for high presure only while pump is use for high lift and not compress the medium only a part of kinetic energy change into pressur energy
A compressor compresses a gas while a pump moves a liquid. Compressors are often used in refrigeration applications where gas is transformed into a liquid and vice-versa.