In an Analysis Services database, a cube contains the objects and data that users query: dimensions, measure groups, KPIs, and perspectives.