a four-way valve that redirects refrigerant flow so that the roles of the indoor and outdoor coils are swapped between heating and cooling modes.