MGabi4488 wrote:
Hi,
Is there any way to hide apps from the dock that are opened on other desktop? in windows it is possible and very comfortable because the dock is clean and showing only the apps in the current desktop.
No.
If they are open they show the little dark under neath. You can make changes
>System Preferences>Dock & Menubar

You can disable "recents" from cluttering up your Dock space...etc.

Command Tab HUD (heads up display) is the other way of seeing all running applications
Use the Dock on Mac - Apple Support
macOS User Guide - Apple Support