A bridge between complex geometry and Riemannian geometry