One is a star orbited by a brown dwarf — an object that straddles ... Rocky planets, or the rocky cores of giant planets, need a ready supply of heavy elements in order to form.