I am planning to reset my Mac. After researching the best way to reset the Mac, I noticed two ways on the Apple website. One way is via the Mac's settings, using the “Erase All Content and Settings” button (https://support.apple.com/en-us/102664), and the other way is via the Mac's boot options, by holding down the “Power” button and going to the start menu, where you can reset the Mac using the Disk Utility (https://support.apple.com/en-us/102506).
My question now is, what is the difference between these two options, does it do anything different?