They are used by Pi HATS (though this is optional) they can be used to identify and configure the HATs hardware.