﻿---
title: Aggregations
description: Aggregations are a powerful framework that enables you to perform complex data analysis and summarization over indexed documents. They enable you to extract...
url: https://www.elastic.co/elastic/docs-builder/docs/2847/reference/aggregations
products:
  - Elasticsearch
---

# Aggregations
<note>
  This section provides detailed **reference information** for aggregations.Refer to [Aggregations](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/2847/explore-analyze/query-filter/aggregations) in the **Explore and analyze** section for overview, getting started and conceptual information.
</note>

Aggregations are a powerful framework that enables you to perform complex data analysis and summarization over indexed documents. They enable you to extract and compute statistics, trends, and patterns from large datasets.
Elasticsearch organizes aggregations into three categories:
- Metric aggregations that calculate metrics, such as a sum or average, from field values.
- Bucket aggregations that group documents into buckets, also called bins, based on field values, ranges, or other criteria.
- Pipeline aggregations that take input from other aggregations instead of documents or fields.