And here's my short version of how an a/c works:
The liquid freon is pumped through the "liquid line" to the expansion valve. This is just a tiny orifice. As the liquid sprays through this tiny hole, it evaporates. Try spraying starting fluid on your hand and you'll see how it gets cold when it evaporates.
This evaporation happens inside the indoor coil called the...wait for it...evaporator. Air blowing through this coil gets cold and cools your house. The evaporated freon gets warmed as it absorbs the heat from the air.
This slightly warmed gas is sucked up by the suction side of the compressor where it is compressed to a liquid. When it's compressed, it gets pretty hot.
The discharge side of the compressor is hot. This hot freon is pushed through the outside coil where it is cooled off. From there the freon moves to the the expansion valve and the cycle starts again.
All you're doing is absorbing heat from inside and letting it go outside.