The European Union is spending millions of euros on developing a robot that can make pizza.

The robot has visual sensors in its head to “see” in real time and uses software to train itself to act like a pizza chef. It is learning how to knead, stretch, toss and twirl dough, add ingredients and slide the pizza into an oven.