Computers contain lots of Valuable metals in them but not all of those metals are easy to extract due to some chemicals needed to process and extract the many valuable metals inside the computers.
Some of the Valuable metals that computers contain are.
Magnesium, Radium, Barium, Niobium, Osmium, Cobalt, Manganese, Titanium, Hafnium, Tungsten, Germanium, Gold, Silver, Copper, Mercury, Bismeth, Silicon, Gallium, Zinc, Iron, Sulfur, Phosphorus, Cadmium, Palladium, Tantalum, Platinum, Aluminum, Carbon, Lead, Nickel, Boron, Chromium, Potassium, Fancium, Casium, Sodium.
Some scrap yards will buy computers for scrap as is and some will only buy the parts such as hard drives, motherboards etc.