Batting last in a Test is a bit like using publicloos at the end of the night. .....
More politely put by another
[TD="class: answercell"]I think, in Cricket, it is not always the case of win the toss & bat first or win the toss & bat second. The case, sometimes is also, win the toss and bowl first or win the toss and bowl second. Whether the decision is emphasized by bowling or batting completely depends on the pitch conditions and weather.
Let us take the case of Test cricket first.
In conditions like Australia, New Zealand, South Africa & England, where the pitch is more hard & grassy, that helps a fast bowler in swing & seam bowling. Since the game starts early, the grass is fresh & moist & aids swing & seam, hence in these particular countries, the decision is, mostly, win the toss & bowl first. That means, the batting, invariably, comes second. Also, the pitches in these regions dont crack much & dont deteriorate even on day 5, so batting last on day 5 is not that troublesome. Thus, most captains win the toss & choose to bowl first.
On the contrary, in places like India, Pakistan, Srilanka, Bangladesh, pitches are dry, dusty & less grassy, naturally conducive to spin bowling rather than fast bowling. Also, the pitch is a death trap on day 5. Only a handful of teams have managed to win a game chasing a decent score on day 5. Thus, in these countries, the emphasis is on batting. Mostly, captains who win the toss, chooses to bat first.[/TD]