Beating an egg with a machine.
Beating an egg to make a cake.
Someone beating an egg is not necessarily doing so to make a cake. Someone could be beating an egg for an omelette or another recipe that uses an egg.
(-x)
(-x)