If you plan to give away, sell, or trade in your Mac, the first thing you should do for security and practical reasons is erase the data on it and perform a factory reset. This video/article shows you how. If you've upgraded to macOS Monterey or later on a Mac with Apple silicon or a Mac with the Apple T2 Security Chip (2017-2020 models), follow the steps to erase all content and settings instead of following the steps in this article.
read more -
How to Erase and Factory Reset Your Mac
https://www.macrumors.com/how-to/eras...
00:00 Introduction
00:15 Apple Silicon & T2 Chip Mac - Erase Content & Settings
00:46 Older Macs - Erase & Install macOS