The European Union restricts the use of certain hazardous substances in electrical and electronic equipment in the RoHS Directive 2011/65/EU. However, Eu RoHS contains exemptions from the general as listed in Annexes III and IV of the RoHS Directive.
Significantly, such lists are constantly evolving as technology advances. You can read about some of the past updated RoHS exemption lists in this article.