Namespaces are used to group and organize classes which are somewhat related to each other. Any class created would reside under a namespace and is referenced using the namespace in other classes or modules.
namespace MyModule {
class MyClass {
// all things under class
}
class MyOtherClass {
// all things under class
}
}