Device backup
I've been trying to install macOS Big Sur but there seem to be too little space on the disk. I've noticed there's an option to 'erase device backup' when I go to storage space>iOS files. All my previous iphones' backups take about 20GB. My question is if I erase previous device backups will it also delete things like photos or files from my laptop and current iphone? Thank you.
MacBook Air 11″, macOS 10.15