Where pipelines begin
A tf.data.Dataset is an ordered collection of elements. Each element can be a single tensor, a tuple of tensors (typical: features and labels), or a dict of tensors (named features). You create one from in-memory data, from files, or from a generator.
Datasets are lazy — building one doesn't load any data. The pipeline runs only when you iterate over it (during model.fit or a manual loop). .take(n) creates a new Dataset with the first n elements — invaluable for debugging.