It is used to find strongly connected component.