Collection
Data\Collection
Magento\Theme\Model\Theme\Data\Collection
What it does
This collection class is used to work with theme data from the filesystem rather than the database.
Developers use it when they need to retrieve and iterate through themes that exist as physical files in the Magento installation, such as when discovering available themes or during theme registration processes.