Pi Pico has two dedicated hardware I2C controllers(I2C0 & I2C1) that are identical and can be independently controlled. The I2C controller can act as both master and slave, with the master mode being the default.