Step 1: Understanding the Concept
Rare earth elements are the lanthanoids (lanthanum to lutetium) along with scandium and yttrium.
Step 2: Check each option
Samarium (Sm) has atomic number 62 and is a lanthanoid.
Mercury (Hg) and zinc (Zn) are group 12 d-block metals.
Tungsten (W) is a d-block transition metal.
Step 3: Conclusion
Only Sm is a rare earth element, option (A).
Final Answer:
Samarium is a lanthanoid, so it is the rare earth element.
\[ \boxed{\text{(A) }\text{Sm}} \]