Anchor bolts are used to secure structures to a concrete foundation by creating friction against the walls of a drilled hole. They provide stability and holding power.