A machine for making liquid or semi-liquid products comprises: a first container adapted to contain a first liquid or semi-liquid basic product; a first stirrer, mounted inside the first container; a second container connected to the first container to receive therefrom the first liquid or semi-liquid basic product; a pipe connecting the first container to the second container; a second stirrer, mounted inside the second container; a pump, having a first inlet duct, connected to the first container in order to draw the first liquid or semi-liquid basic product, a second, air inlet duct, and an outlet connected to the connecting pipe, the pump being also configured to mix the first liquid or semi-liquid basic product with air by compression.