A heat exchanger comprising: - a main body in turn comprising a shell (1.1), wherein said shell (1.1) houses one or more heat exchange tubes for the passage of a first fluid, particularly a gas to be cooled, where the heat exchange tubes extend between two opposite ends of the shell (1.1); the shell (1.1) comprises a space between the inner face of said shell (1.1) and the heat exchange tubes for the passage of a second fluid, particularly a coolant fluid; and wherein the main body, in at least one of the ends of the shell (1.1), comprises a baffle such that the heat exchange tubes are attached to said baffle through one of the ends thereof, - a manifold in fluid communication with the inside of the heat exchange tubes attached to the baffle, this manifold being attached to the main body, characterized in that: - the manifold comprises a perimetral edge (4.1) and a plurality of cavities (4.2) on its outer face distributed around the perimeter and spaced from the perimetral edge (4.1), - the main body is prolonged in a segment (3.2) externally surrounding the manifold at least by means of a band adjacent to its perimetral edge (4.1) wherein the main body comprises a stepping (3.3) such that there is arranged a seat of the perimetral edge (4.1) of the manifold on said stepping (3.3); and - the segment (3.2) of the main body externally surrounding the manifold comprises, coinciding with two or more cavities (4.2) of the manifold and in each of such cavities (4.2), a strip (3.4) configured between the edge of the segment (3.2) of the main body externally surrounding the manifold and a slot (3.5) spaced from said edge such that by plastic deformation, the strip (3.4) enters the cavity (4.2) of the manifold such that the free edge of the strip (3.4) established by the slot (3.5) is supported on the surface (4.2.1) of the cavity (4.2) arranged closest to the perimetral edge (4.1) of the manifold. - a main body in turn comprising a shell (1.1), wherein said shell (1.1) houses one or more heat exchange tubes for the passage of a first fluid, particularly a gas to be cooled, where the heat exchange tubes extend between two opposite ends of the shell (1.1); the shell (1.1) comprises a space between the inner face of said shell (1.1) and the heat exchange tubes for the passage of a second fluid, particularly a coolant fluid; and wherein the main body, in at least one of the ends of the shell (1.1), comprises a baffle such that the heat exchange tubes are attached to said baffle through one of the ends thereof, said shell (1.1) houses one or more heat exchange tubes for the passage of a first fluid, particularly a gas to be cooled, where the heat exchange tubes extend between two opposite ends of the shell (1.1); the shell (1.1) comprises a space between the inner face of said shell (1.1) and the heat exchange tubes for the passage of a second fluid, particularly a coolant fluid; and wherein the main body, in at least one of the ends of the shell (1.1), comprises a baffle such that the heat exchange tubes are attached to said baffle through one of the ends thereof, - a manifold in fluid communication with the inside of the heat exchange tubes attached to the baffle, this manifold being attached to the main body, - the manifold comprises a perimetral edge (4.1) and a plurality of cavities (4.2) on its outer face distributed around the perimeter and spaced from the perimetral edge (4.1), - the main body is prolonged in a segment (3.2) externally surrounding the manifold at least by means of a band adjacent to its perimetral edge (4.1) wherein the main body comprises a stepping (3.3) such that there is arranged a seat of the perimetral edge (4.1) of the manifold on said stepping (3.3); and - the segment (3.2) of the main body externally surrounding the manifold comprises, coinciding with two or more cavities (4.2) of the manifold and in each of such cavities (4.2), a strip (3.4) configured between the edge of the segment (3.2) of the main body externally surrounding the manifold and a slot (3.5) spaced from said edge such that by plastic deformation, the strip (3.4) enters the cavity (4.2) of the manifold such that the free edge of the strip (3.4) established by the slot (3.5) is supported on the surface (4.2.1) of the cavity (4.2) arranged closest to the perimetral edge (4.1) of the manifold.