Yes, mostly heat. Every gear pair, bearing, joint etc has its own inefficiency. Would better lubrication/oils help (if they exist)? Yes, from that specific aspect. But that has to be set against capital cost, running cost, service life etc. ... What's the state of the art in motor racing in cars that are roughly like ordinary cars but where those other factors might be less important? Jonathan