The oraInst.loc file is sometimes referred to as the inventory pointer file and created by the Oracle Universal Installer when Oracle Software is installed for the first time.
This file is used (by the Oracle Universal Installer) to
locate the oraInventory directory (inventory_loc)
identify the name of the Oracle Inventory group (by default: oinstall)