Why use uvm_config_db to pass vif or configuration object is recommended?

In reply to sujay_rm:

Could you please explain what is
config_x_agent?