If you have a hung application on a system, you can of course use Task Manager to kill it. But be careful what you kill — some processes are critical to the operation of Windows and killing them can render your system unstable or even cause it to hang and require rebooting.
The following user mode processes should never be killed using Task Manager: alg, csrss, dfssvc, explorer, lsass, msdtc, services, smss, spoolsv, svchost, system, System Idle, taskmgr, winlogon and wmiprvse. Some of these processes in fact can't be killed using Task Manager, but you don't even want to try in any case.
Mitch Tulloch is President of MTIT Enterprises, an IT content development company based in Winnipeg, Canada. Prior to starting his own company in 1998, Mitch worked as a Microsoft Certified Trainer (MCT) for Productivity Point International. Mitch is a widely recognized expert on Windows administration, networking and security and has written 14 books and over a hundred articles on various topics. He has been repeatedly awarded Most Valuable Professional (MVP) status by Microsoft for his outstanding contributions in supporting users who deploy Microsoft platforms, products and solutions. Mitch is also a professor at Jones International University (JIU) where he teaches graduate-level courses in Information Security Management (ISM) for their Masters of Business Administration (MBA) program. For more information see http://www.mtit.com.