Model
CompareList
Magento\Catalog\Model\CompareList
What it does
This model class represents a Compare List entity in Magento 2's catalog system.
Developers use this class to manage product comparison lists, which allow customers to add products for side-by-side comparison.
It extends AbstractModel and connects to the database through its resource model to handle CRUD operations for compare lists.