It is used to check SafetyNet & root status along with the device details.
SafetyNet provides a set of services and APIs that help protect your app against security threats, including device tampering, bad URLs, potentially harmful apps, and fake users. The device's software and hardware environment are being examined to make sure the device isn’t being compromised. The generated attestation is bound to the nonce that the caller app provides which then is compared with the reference data. You can also use this app to check if your device is rooted or not and if magisk is installed.