Correct.
Whereby it cannot be stressed enough that for real data security the backup data set(s) should be stored on another, physically separate device like a PC or laptop, or in a cloud, etc. Ready to be restored to a new phone.
In the Android world, the 'backup' is a backup of basic settings (not the home screen layout), your WiFi connections and what apps you had installed (but not their data). This is backed up to Google and will restore to any new device you sign in to with your Google account.