Geometric Aspects Of Gauge And Spacetime Symmetries