Topics in nonlinear PDEs: from Mean Field Games to problems modeled on Hörmander vector fields