Does Nextcloud keep syncing if I close the Sync Client window?

I’m on Linux (Ubuntu) and have set the sync client to open on startup. I was wondering whether the client keeps syncing if I close the window, or do I need to keep it open?