Rare earth minerals are the metals that are used in most of the technological advancements of…