A Gram spring for shaft seal is used in refrigeration and HVAC systems to apply pressure to the shaft seal, ensuring a tight seal between the rotating shaft and the stationary components. This spring prevents leakage of refrigerant or oil, maintaining system efficiency and preventing contamination or loss of fluid.