Folders are used to group documents. Folders are also used as the basis of security. Access to a folder gives a user access to all documents within the folder. Access to folders is controlled by a role. User are members of a role and inherit the roles security settings such as folder access.
Use caution when deleting folders. When you delete a folder, none of the documents within the folder will be accessible any longer.