What kind of deal you can get will depend on the local market. Around here, foreclosures are often screaming good bargains because the real estate and employment markets are weak with no sign of any rebound on the horizon, and the banks are just looking to get out before it gets worse. We bought our current home for 1/6 of what it sold for a few years earlier.
If you're looking at foreclosures, remember that the listing agent most likely knows absolutely nothing about the home's history or condition and that the house has likely been vacant for an extended time (here it seems to take about 6-8months from the bank taking possession until the listing hits the market). That makes getting a good, complete, detailed inspection absolutely vital.
Also, in dealing with bank-owned properties you aren't going to get the kinds of concessions you can get when dealing with an owner - your offer will most likely have to be as-is with no contingencies, and you won't be able to haggle over details like appliances (expect those to be missing in most foreclosures) or necessary repairs. Our experience was that the process is very straightforward but leaves you kind of groping in the dark as a buyer - you make the offer and it is accepted or rejected, with no counter-offer or back-and-forth. Of course you're free to submit a better offer if your first one was rejected, but it is pretty one-sided so it is important to have a firm maximum price in mind and be prepared to move on if that offer isn't accepted.
The main risks involved are in buying as-is. You really won't know the full condition of the house until you move in. We've bought two foreclosures and despite a very good inspection by 2 licensed builders, one of whom is the building inspector for our area, there have been issues that we weren't aware of until we got settled in and started discovering little quirks. Other than that, it is just a slightly different process from buying from an owner, and it helps to have an RE agent familiar with the foreclosure market to help navigate those differences.