The Recovery is a bootable partition use to delete/wipe all user data and do the system updates via recovery.
The Stock recovery is very limited in it’s design and function, only wipe and system update.
But custom recovery offer more features than stock one, they allows backing/restore full phone. You can install unofficial system update. You can copy files to your sdcard without having to reboot into android.