There is a substantial amount of theory regarding the thread of screws which we will not go into to right here, but you can find a superb specific description here on Wikipedia.
Obviously, round screw heads are people https://types.blog/types-of-screw-heads/