When it is a switch between applications, we use Command+Tab, and when it is a switch within an application, we use Command+`.
Can I just use Command+Tab for all cases, as in Windows?
You can't do that in OS X, but you can buy and install witch for that function.