An air conditioner works in the same way ------a refrigerator.

by

as

as if

to be