Hanger bolts a/k/a hanger screws have a machine screw thread on one end and a lag wood screw thread on the other end which makes it a double-ended screw with two different threads so the lag thread end can tighten into material such as wood, so the machine thread end allows for attaching another material without having any visible head. Hanger bolts are often used in when fastening wood to metal.