If you have iCloud Drive and its Desktop and Documents option turned on, it is possible that some of your files may only be on iCloud but that is not necessarily the case. If you go to Finder menu > Settings > Sidebar (at the top of that Settings window), then insure that there is a check in the box in front of your Documents folder. If Desktops and Documents option of iCloud Drive is on, that folder will be in the iCloud section of the sidebar (even though the files may also have a local copy on your Mac). Then when you open a Finder window and click on the Documents folder, Finder will display the contents of that folder regardless of whether the files are on iCloud, stored locally or both.
If you have Apple menu > System Settings > [username] > iCloud > Drive > Optimize Mac Storage turned off then those files will always have a local copy; if Optimize is turned on, there may or may not be a local copy. To verify, see the information in the "View iCloud status" section of Get file, folder, and disk information on Mac - Apple Support
If you want to turn off the Desktop and Documents option of iCloud Drive, see the following from Add your Desktop and Documents files to iCloud Drive - Apple Support
Turn off Desktop and Documents
- From your Mac, choose Apple menu > System Settings.
- Click Apple Account. In macOS Sonoma or earlier, click Apple ID.
- Click iCloud.
- Under Saved to iCloud, click Drive. In macOS Sonoma or earlier, under Apps Using iCloud, click iCloud Drive.
- Turn off Desktop & Documents Folders.
- Click Done.
What happens when you turn off Desktop and Documents
When you turn off Desktop & Documents Folders, your files stay in iCloud Drive and a new Desktop and Documents folder is created on your Mac in the home folder. You can move files from iCloud Drive to your Mac as you need them, or select all of your files and drag them to the place you want to keep them.
or if you want to completely turn off iCloud Drive, see the following from that same support document:
What happens when you turn off iCloud Drive or sign out of iCloud
If you turn off iCloud Drive or sign out of iCloud, a new Desktop and Documents folder is created in your home folder. You also have the option to keep a local copy of your files that are in iCloud Drive. If you keep a local copy of your files in iCloud Drive, they're copied to a folder called iCloud Drive (Archive) in your home folder. You can move any files that were in your iCloud Desktop and Documents to your new local Desktop and Documents.