Sometimes there's something else at play though, because there are situations which cannot be explained by offer and demand. For example, developers are paid less in average than for example some consultant jobs while in my view (and I'm a consultant) both the skills required for a developer are higher while additionally the available workforce (supply) is lower for developers as well.
I mean, consultants, they grow on trees and I know what I'm talking about, I sometines interview new hires as part of my job. Developers, less so.
I don't have an explanation for this, it's a strange effect. But it's just an example, I have observed multiple times this unexpected deviation from the law of supply and demand.
My point is, this law is not a sure fire way to explain any price.