Applications of Algebraic Geometry in Physics