Knowledge files are basically retrieval files. They help provide extra guided context to the custom GPT.
If you can place knowledge files into a custom GPT using a Teams account, then it will be able to retrieve information from those files and use that information to respond to user queries.