Question: how to transfer files from onedrive to teams?
Answer: Sign in Microsoft Teams with your Office 365 account. Navigate to Files > Cloud storage > OneDrive. Select a file. ...  Select Move > Browse Teams and Channels > choose the location and click on Move. Then you can check this file in Teams > Files.