A file system is a method and data structure that an operating system uses to control how data is stored and retrieved on a disk. Without a file system, information placed in a storage medium would be one large body of data with no way to tell where one piece of information stops and the next begins.