Only about 6% of the salt manufactured in the world is used in food.
When drilling through loose materials such as sand or gravel, salt may be added to the drilling fluid to provide a stable "wall" to prevent the hole collapsing.