Basically, you cannot just pop a drive that has an operating system into another comp and boot it.
Some times you might, but that involves more luck than anything else - same motherboard chipset, same components, etc.
You can 'slave' a drive and read the data from an existing operating system (I have never done it with a Sata drive but it must be possible).