The question title says it all. I have always wondered why in some areas, mostly gambling, people use odds instead of probability. But I have never seen a probability/statistics book (at least one directed to mathematicians) that used odds.
Is there any advantage in using odds or is it just a historical habit?
The only thing I could come up with is that it may be simpler to understand odds than probabilities. For example, the odds against obtaining 6 when rolling a fair dice is 5:1, so we have 5 times more chances of losing than winning.
But the probability of winning is $\frac{1}{6}$, so we would expect to win once out of $6$ attempts. Not really harder to understand intuitively.
Also, odds don't seem that easy to handle when a random experience has more than 2 outcomes.
If you give me the probability $p$ of an event, I can give you the odds against it by computing $t = \frac{1-p}{p}$.
If you give me the odds against an event as real-number ratio $t$, I can give you the odds by computing $p = \frac{1}{t+1}$.
Hence, the two are equivalent. Any advantage would be one of convenience or tradition, although several such instances exist. For instance, the statement that probabilities are additive for disjoint events is certainly much more conveniently expressed about probabilities than for odds; similarly, as K B Dave alluded to, logistic regression is a good example of an application that natively uses odds. But at the end of the day, you can always pick your favorite and convert to it.
I think the reason odds are prevalent in gambling is some combination of history/tradition and (perceived) ease of interpretation.