Multiple providers of libraries may use common global identifiers causing a name collision when an application tries to link with two or more such libraries. The namespace feature surrounds a library's external declarations with a single namespace that eliminates the potential for those collisions.
This solution supposes that two library vendors don't use the similar namespace identifier, of course.