The query builder allows an advanced user the possibility to create customized queries of historical data, for example when the built-in reports are not providing enough data.
These queries may also be published and appear as custom reports in the UI.