Made to be screwed into a stud in the wall. I hung a PVC pipe between two of these to make a shelf for my filament spools.
You could use drywall screws or any screw that's similar in size.