"Starting with Safari 17, you can use profiles to keep your browsing separate for topics like work, personal, or school. Each profile has separate history, cookies, website data, extensions, Tab Groups, and favorites."
https://support.apple.com/en-ca/guide/iphone/iphd27a9ff22/io...
Edit: see jshier’s response.