In between condenser and Evaporator, there lies one more component i.e. Drier
The function of Drier is to absorb any moisture present the overall cooling cycle.
The capillary is basically an expansion device present between condenser and
evaporator. After the refrigerant passed through the condenser, it enters the capillary with high pressure & high temperature and as soon as it enters the evaporator, the pressure and temperature falls immediately due too the broader circuit width of the evaporator. That is the only function of the refrigerator.