https://foreignpolicy.com/2010/06/15/are-rare-earth-elements...
Worth shouting out that it is also sourced in former colonies that still have major dependencies on their old imperial masters. Niger/France have this relationship and Niger produces the majority of uranium used by the French nuclear industry.
Wind turbine generators often, but far from always, depend on rare-earth magnets. Batteries often (but far from always) depend on other rare, but not rare-earth, elements like cobalt.
The three most important rare earth elements are lanthanum, neodymium and praseodymium. The first two are about as "rare" as copper or nickel. Praseodymium is less abundant, about the rate of lithium or lead. Neodymium costs around $50 per kilo. About 3 kilos is necessary in an electric car. One container full of neodymium ingots is enough for 30,000 electric cars. It's not a geopolitical ace up the sleeve it's made out to be
Erbium is used in nanogram quantity in optical fibers to amplify signals purely optically. You shine a light on a fiber doped with it and the signal gets stronger.