In an A/C system, the thermostatic expansion valve effects the reduction of the pressure and temperature of the liquid refrigerant before entering the evaporator.
It further controls the flow of refrigerant that is introduced into the evaporator keeping the vapor overheating constant.