A hex cap screw or hex bolt is what you call a six-sided screw. Constructors use it to fasten metal to wood or wood to wood.