But it does make things run more smoothly.
SKlick is right, WD-40 is intended as a bolt loosener. It smoothens things for a little while, but it doesn't have staying power like a proper lubricant. Like duct tape, it's become a "go-to" for purposes for which it is not fit.
Ballistol comes highly recommended but it's expensive and I've never tried it.