Immersion chillers work by circulating a cooling fluid (usually tap water from a garden hose or faucet) through a copper/stainless steel coil that is placed directly in the hot wort. As the cooling fluid runs through the coil it absorbs and carries away heat until the wort has cooled to the desired temperature.
References
Immersion chiller Wikipedia(Text) CC BY-SA