When you minimize a window in macOS, it goes to the right edge of your Dock by default. If you’d rather it minimize to the app’s icon, like Windows’ taskbar does, you can alter this behavior in System Preferences.
Click Here to Continue Reading
Source: How-To Geek