A machine (1) for making liquid and semi-liquid products comprises: a first container (2A) for processing basic liquid and semi-liquid products a first mixer (3A) operating inside said first processing container (2A) a second container (2B) for processing the basic liquid and semi-liquid products, for converting said basic liquid and semi-liquid products into a desired liquid or semi-liquid product a second mixer (3B) operating inside said second processing container (2B) a thermal system comprising at least a first heat exchanger (4A) and a second heat exchanger (4B), which are operatively associated respectively with the first container (2A) and with the second processing container (2B) for exchanging heat with the basic product or with the desired product in the first container (2A) or the second container (2B) a first drive unit (5A) operating on the first mixer (3A) for driving its rotation in the first container (2A) a second drive unit (5B) operating on the second mixer (3B) for driving its rotation in the second container (2B) a control and operating unit (7), configured to control the first drive unit (5A), and/or the second drive unit (5B) and/or the thermal system a connecting duct (10) between said first container (2A) and said second container (2B), for allowing the transfer of a batch of basic products from the first container (2A) to the second container (2B) a separating element (11) for separating the first container (2A) and the second container (2B), said element being associated with said duct (10) and switchable between a separating configuration in which the transfer of basic products from the first container (2A) to the second container (2B) through the duct (10) is prevented, and a connecting configuration in which a transfer of basic products from the first container (2A) to the second container (2B) through the duct (10) is allowed. [Figure 1]