The flange assists the screw to remain in its posture, taking the location of the washer for some tasks.
They have hexagonal shape at head which increase beyond its surface area. a number of them have in-built flange https://isocialfans.com/story2508291/types-of-screw-heads-for-dummies