Fixed-rate and adjustable-rate mortgages are the two main types of mortgages -- the Coca-Cola (NYSE:KO) and PepsiCo (NYSE:PEP), the cats and dogs, of the home-lending world.

A fixed-rate mortgage is very straightforward. The borrower knows from the beginning what the interest rate will be for the entire duration of the mortgage, and the monthly payments due are likewise fixed. Simple.

Slightly less simple is the adjustable-rate mortgage (ARM). It changes from year to year, to reflect the interest rate environment. If rates are plummeting, your rate will also drop -- and it goes up if rates go up. ARMs typically have an extra-low "teaser rate" for the first year, as well as an upper limit, or cap. In addition, the amount that an ARM rate can rise each year is also limited, so that it won't rise too quickly.

Fixed-rate mortgages are good because they come with no surprises. But for this benefit, you'll likely pay a slightly higher rate than you would with an ARM. Fixed-rate mortgages are good for people who enjoy stability. They're also especially attractive during periods when interest rates are low, as they have been in recent years. At such times, fixed-rate mortgages permit you to lock in low rates for many years.

Conversely, if the prevailing interest rates are very high, an ARM might make more sense, if you think rates are more likely to fall than rise. In addition, since ARM rates are typically slightly lower than fixed rates, they permit borrowers to borrow a little bit more. This difference can help you buy a slightly spiffier house. ARMs are often recommended for those who will be in a house for only a few years, since the rate is not likely to change too much in that time. Beware, though -- don't enter into an ARM unless you're sure you'll be able to handle the worst-case scenario -- that is, if your rate quickly rises to the cap. (More on ARMS here.)

Click over to our online calculators, which can further help you figure out which type of mortgage is right for you.

You can learn more about buying a home by going to our Home Center. We've even got some good deals on mortgage rates for you there, as well as info on refinancing. In addition, drop by our Buying or Selling a Home discussion board.

These articles should be of interest, too.

If you're interested in receiving a handful of promising stock ideas each month, consider subscribing to one of our investing newsletters. (Their performance may surprise you!)

Coca-Cola is a Motley Fool Inside Value recommendation.

The Motley Fool has kicked off its ninth annual Foolanthropy campaign! Nominate your favorite charities on our Foolanthropy discussion board through Nov. 1. For guidelines on what makes a charity Foolish, visit .