You Can fetch Region id by region code and the country code in Magento 2.
There are many scenarios where you need to get region id to do the process. like Create Customer address programmatically, You need to required Region Id to store region for customer address.
You can get region id by calling the factory method of Region Class.
