WD40 make and sell multiple products for multiple applications.
https://wd40.co.uk/wd-40-products/
WD40 is a solvent. But it is widely used as a lubricant due to the oil it contains along with its penetrating qualities and moisture removal.
The long-term active ingredient is a non-volatile viscous oil which remains on the surface to which it is applied, giving lubrication and protection from moisture.
[14] This oil is diluted with a volatile hydrocarbon to make a low viscosity fluid which can be aerosolized to penetrate crevices. The volatile hydrocarbon then evaporates, leaving behind the oil. A propellant (originally a low-molecular-weight hydrocarbon, now carbon dioxide) creates pressure in the can to force the liquid through the can's nozzle before evaporating.
[14] The product is also sold in bulk as a liquid to industrial companies