Rare earth compounds and their material applications