core is facades and getConfigData() is a method inside this facades, getCofigData() is used to get data from configuration, first it check that if it exists in database ( which we save from configuration) then it will retrieve from there otherwise from configuration file. core facades is used to get core dependencies of project like currency, channel, locale & many more.