The concept of realms was introduced in Understanding Users, Groups, Roles, and Realms.
See Configuring Realms for details on these tasks:
Creating a Realm
Editing a Realm
Setting the Default Realm