There is a great deal of theory in regards to the thread of screws which we won't go into to below, but you can find a fantastic comprehensive description in this article on Wikipedia.
Bolt (left) and Screw (proper) https://mysitesname.com/story7843453/the-single-best-strategy-to-use-for-types-of-screw-heads