Algebraic Models in Geometry