What is the name of this machine and what is it used for?
It looks like it's just a commercial version of the machine we normally call an ice cream maker.

Even some of the home machines have a similar armature structure to hold the motor over the mixing container:



Its function is to stir the mixture as it freezes to aerate it and prevent large ice crystals from forming.