What is the function of the pressure switch in the refrigeration system?

It protects the compressor, limiting it not to exceed its application ranges, besides protecting the system against pressures too high or low.