in wood applications, they are usually used in a tight tolerence round hole. as you tighten the nut, the square portion embeds itself into the wood, keeping the head end from spinning. They also sell special washers the have a square cut out and "teeth" on the outer edges ( like a t-nut). You hammer the washer over a hole, and the square shoulder sits in the square cut inner hole.