The socket drive lets a relatively small head transmit high torque, so a cap screw can clamp harder than a screw of the same size with a slotted or cross recess. The cylindrical head also seats in a counterbore, which protects the drive and keeps the joint surface flush.
Because the head is not a hexagon, the length is measured from under the head, and the counterbore and tapped hole must match the head diameter and the thread. Confirm the property class, thread tolerance and coating on the order, and check that the counterbore is deep enough for the head rather than assuming a standard cap screw will sit flush.