In Elasticsearch, “types” used to be a way to organize data within an index. However, starting from Elasticsearch 7.0, types have been deprecated, and indices can now only contain a single document type. This change simplifies the data model, making Elasticsearch more efficient and scalable.