Going into Recovery Mode doesn’t automatically delete everything on your Mac. However, it does contain the tools needed to permanently remove all the files from your computer. Therefore, you should be very cautious when using Recovery Mode.  The two main sections of Recovery Mode that would remove everything are Disk Utilities which is how you erase the hard drive. The other is loading from a Time Machine backup which would remove everything added since that backup was created.