"moodledata" is a folder that contains user files, course files, site language, cached and other information. It is created in the Moodle install process. It should be located outside of the "moodle" folder and is called by default "moodledata".
Where are Moodle files located?
The Moodle code is located in its own directory (folder) with files and sub-directories. Generally speaking, these can be found in the zip file in the standard download in and will be unpacked in a directory called "moodle".
Where does Moodle store private files?
In Moodle, each user has a private files area for uploading and managing a set of files. The private files area is accessible via Navigation > My home > My profile > My private files or the My private files block.