What is the $cacheFactory service, and how does it optimize performance?

$cacheFactory creates caches for storing data, reducing redundant API calls and improving performance by reusing cached results.

const cache = $cacheFactory.get('$http');