A VPN moves your trust to one company. iCloud Private Relay tries something different: it splits the job in two so nobody in the chain sees everything. It is part of iCloud+, and it only covers Safari, so it is not a VPN replacement.
Apple describes it like this: your request goes to a first relay run by Apple, which sees your IP address but cannot see the site, because the DNS records are encrypted. A second relay, run by a third-party content provider, gives you a temporary IP address, decrypts the site name and connects you. No single party, not even Apple, sees both who you are and which site you visit.
Settings > [your name] > iCloud > Private Relay
On an iPhone or iPad go to Settings, tap your name, tap iCloud, tap Private Relay and turn it on. It is a per-device setting, so repeat it on each device where you want it. You need an iCloud+ subscription, and Apple lists iOS 15 or later for it.
The caveats come straight from Apple. It isn’t available in all countries or regions. Without your real IP address, some websites may ask for extra steps to sign in or show their content, and speed tests can show lower results. If a banking site or a work portal acts up, Apple has a separate article on managing Private Relay for specific websites and networks, which is the place to turn it off for one network instead of everywhere.
Further reading: About iCloud Private Relay
Going deeper: Guide: run your own search engine with SearXNG and make it the default on your iPhone and Mac