Why is mercury used in barometer?

Mercury does not stick to the walls of the barometer tube. The density of mercury is high, so the length of the tube used is conviniently small. Its vapour pressure is small.