# Main concepts

## Dataset

Segments.ai is built around the concept of **datasets**. A dataset contains a collection of samples.

When you create a dataset, you have to choose the sample and label type. For example, *images* with *segmentation labels*, or *3D point clouds* with *cuboid labels*.

## Sample

A **sample** is a data point you want to label, like an image, 3D point cloud, or a [sequence](/background/sequences.md). The different sample types are defined in [Sample formats](/reference/sample-types.md).

## Label

When you label a sample and press the save button, you've created a **label** for that sample. Labels also come in different types (segmentation labels, vector labels, cuboid labels, ...), with the available options determined by the sample type. The different label types are specified in [Label formats](/reference/label-types.md).

## Label set

A **label** is linked to a sample in relation to a **label set**. When you label a sample and press the save button, the label is saved in the default *ground-truth* label set.

You can optionally create additional label sets to [upload your model predictions](/how-to-integrate/upload-model-predictions.md).

## Release

A **release** is a snapshot of a dataset at a specific point in time. Create a new release if you want to [export your data](/how-to-integrate/export.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.segments.ai/background/main-concepts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
