It is said that the triangle and rectangle are equidecomposable. In general two shapes are equidecomposable, provided one could be cut into pieces, which can be rearranged into the second shape. The decomposition of a triangle into a rectangle is pretty tame, but there are rather weird ones. Much depends on what kind of a cut is allowed. The one we are concerned with here may be called decomposition by dissection. It is characterized by the fact that, as sets, any two adjacent pieces both contain their common boundary. The decomposition in the Tarski-Banach paradox is different. The pieces there, adjacent or not, have an empty intersection.
Note that the above demonstration does not prove that any triangle and rectangle of equal areas are equidecomposable, although they in fact are.