We could give a more in-depth explanation if you gave some more info. From what you've given, I'd assume you just saw someone messing with console of just glitching vehicles together.
The tank turret is a player object, so if you know how, you can mount it to other vehicles and get some fun results.
ObjectID.mountobject(ObjectUD,Seatnumber);