The main purpose of device identity registration is to allow access to the device-facing endpoints. For each device, it creates resources in Azure IoT Hub, which enables device-to-cloud messages and also cloud-to-device messages, if needed.
You can do this in different ways. Here, I will explain a technique using Device Explorer.