The geometry of algebraic groups