All pistols do locational damage. A submachine gun and the sniper rifle also do locational damage. The weapons have recoil, accuracy and range. You will not be able to snipe with your pistol since the maximum range is not very long. The heavy machine gun can cover that range, but you must be crouched to shoot accurately with it.
Some weapons are very inaccurate if fired while moving.
You also lose accuracy as a result of recoil. Imagine driving a tank. If you have seen any screenshots, you will have seen vehicles. Vehicles will be a big part of TF2. Vehicles include APCs, tanks, trucks, choppers, and more.