In physics https://en.wikipedia.org/wiki/Introduction_to_gauge_theory In mathematics https://en.wikipedia.org/wiki/Gauge_theory_(mathematics)