Dive socks are worn primarily to prevent blisters and chaffing caused by friction between feet and fins or boots.
They add comfort, provide minor thermal protection in cool water, help with filling out loose-fitting boots, and make it easier to slide into wetsuits and fin pockets.