What are aggregates/aggregate tables and where is it used?

What are aggregates/aggregate tables and where is it used?

When a KPI is published using a set of measures and dimensions, it dynamically refers a specific aggregate table and fetches results from it.