Gold was in use as a form of money, in one form or another, at least from 560 BC until the end of the Bretton Woods system in 1971. It was used as a store of value both by individuals and countries for much of that period.
Since the end of the Bretton Woods system in 1971, gold has largely lost its role as a form of currency. It is still considered by many as a store of value and a safe haven in times of crisis.
Central banks retain large gold reserves
Gold and other precious metals are assets that are both tangible and liquid (i.e. easily traded), unlike real estate which is tangible but not liquid, or company shares and bonds which are liquid but not tangible.
Considering its high density and high value per unit mass, storing and transporting gold is very easy. Gold also does not corrode. Historically, it was also very easy to verify that an offered coin had the density of gold through the use of Archimedes' principle. Today, however, some metals are denser than gold yet cheaper. While some think gold deserves special treatment based on its cultural value and use as money, others consider gold a commodity, like copper or lead.
Some people, sometimes referred to as gold bugs, buy gold which they retain in their physical possession in the belief that should the monetary and financial system collapse, gold would still be considered valuable.
Other reasons for doing so include the ease of hiding the gold from others, such as family members or tax authorities.
http://en.wikipedia.org/wiki/Gold_as_an_investment