How does buying a foreclosed home work?

How do you go about buying a foreclosed home? I see ads for foreclosed homes for 200,000 or 300,000 dollars when their worth twice that. Does that mean I give the seller/bank that much money and I get the house? I'm sure I'm missing something here. If possible please provide a link so I can get more info.
7 answers 7