This function returns the default GlobalDataStore. If you want to access a specific named data store instead, you should use the DataStoreService/GetDataStore|GetDataStore() function.
The following example retrieves a default data store instance which behaves like a regular Instance. Since a GlobalDataStore is an Instance, functions such as Instance/GetChildren|GlobalDataStore:GetChildren() will execute without error.