Field artillery are still used in modern warfare. Field pieces are not used as massive-ass sniper rifles, but generally as delivery system for shrapnel. Or, massive-ass grenade launchers. Unlike rifles which need line of sight to put lead on target, artillery pieces use over the horizon firing to put lead on target. They use massive-ass math.
But not all field guns are artillery pieces, take for instance the Flak 88, not only was it a very powerful AA weapon but was used as an anti-tank weapon when engaged on the gun. Most Anti-tank weapons we think of today are portable rocket/missile weaponry, however there were also large caliber weapons made specifically for engaging tanks at a distance.
Take for instance the following weapons:
Those are not artillery guns but rather anti-tank weapons, while the premise is similar (being able to lob munition at an enemy at a distance) the way both of them do it is differently. An artillery piece is made for launching munitions from a safe location, hence their ability to fire at an angle, anti-tank guns are used as direct support at the front.
Lastly:
The venerable 88 Flak, used originally for taking out aircraft at high altitudes using extremely high velocity shells, this would later be utilized to pierce armor during WWII. Making it one of the most feared weapons of the battlefield. Not only that but doesn't it look like the Howitzer from GoI? I mean seriously, look at that thing!