If you need to sell your Android, or just completely reset it, you can do a factory reset to erase the internal storage.
According to helpfulness feedback, this only deletes user data, not internal storage.