Anti freeze contains Glycol Ethelene to stop the water freezing at zero degrees C.
Its also contains corosion inhibitors - you need these with an ally head/block. There are also chemicals to help the coolant absorbe heat more easily too.
So in short - yes coolant helps cool your engine.