The work deals with possibilities of using this specific material. It is focused on cast metal foams with a regular arrangement of internal cells and it refers to already used casting technologies – the production of metal foamswith the aid of sand cores. Metal foamsare used in many industries, such as: automotive, aerospace, construction, power engineering. They have unique propertiesand due to lower weight with sufficient strength and greater contact surface can be used, for example, for the conduction of heat. This article deals with the useof the metal foam as a heat exchanger. The efficiency of the heat exchanger depends on its shape and size and therefore the study is focused first on the optimization of the shape before the proper manufacture.