There's quite a lot of idea with regard to the thread of screws which we won't go into to here, but you can find a wonderful in depth description right here on Wikipedia.
they have got uniform threads, and therefore https://types.blog/types-of-screw-heads/