Entanglement, Symmetry Factorization, And Topological States Of Matter: From Theory To Applications