Introduction to some common topics in gauge theory and spin systems