Hi Chaz, this is not a silly question and it's a big reason why people choose osquery.
Osquery obtains OS information by interpreting the user's SQL query and converting that to a native API call to gather that data.
It then pulls all that info together and sends the results back as if they were coming from a DB...but in reality they are coming live directly from the OS itself.