the term that is used for the joining of two or more firms involved in different stages of producing the same good or service is called: Vertical merger
One of the purpose of this type of merger is to create efficiency and increase market share in order to gain the maximum profits