Erase all contents and settings will erase everything, including biometric data such as fingerprint scans from your Mac. The process is different depending on which macOS version you are running, so ...
And if you have any other Apple device (iPhone, iPad, Apple Watch, AirPods), it syncs up your data automatically, which is always nice. Alternatively, you can pick up 2022's M2 chip-powered model ...