You control the cannon. You need to hold out in battle for the allotted time to move to the next level. Enemy planes will drop tank parts. Do not let the tank be assembled entirely, otherwise it will attack your cannon from the ground.
On mobile devices - touch the screen and move your finger to control the cannon. On the computer, the mouse controls the cannon. Shoot - the M key. Show/hide the mouse cursor - the H key.