No not all batteries have these, it's usually on the side at the top.
When a lead acid battery is charged it will vent hydrogen gas, if it's in a vented space such as under the bonnet this is not a problem, but when the battery is installed internally (such as in the boot), the gas could build up and cause an explosion, hence the vent tube.
But it's a very remote possibility and I would not worry about it.