Rare earth elements (REE) are a group of 15 elements that are part of the lanthanide series of the periodic…