Why do we use CSS selector in Selenium?

Why do we use CSS selector in Selenium?

The CSS Selector is a combination of an element selector and a selector value that can be used to identify certain elements on a web page. CSS selectors, like XPath, can be used to find web items that don’t have an ID, class, or name.