A resource group is a way for you to organize your account resources in customizable groupings so that you can quickly assign users access to more than one resource at a time. It is optional for migration. More information on resource groups can be found here.