Topological invariants and geometries of three-manifolds