ON THE GEOMETRIC STRUCTURE OF GAUGE THEORIES