https://support.mozilla.org/en-US/kb...ores-user-data
"All of the changes you make in Firefox, like your home page, what toolbars you use, saved passwords and your bookmarks, are all stored in a special folder, called a profile. Your profile folder is stored in a separate place from the Firefox program so that, if something ever goes wrong with Firefox, your information will still be there."