Maximum Principles And Geometric Applications