How to use 2 I2C and UART simultaneously in ESP32?

First, thanks for your reply

I bought MAX30100 sensor from offline market.
Link for MAX30100 Library - https://github.com/oxullo/Arduino-MAX30100.git

I'm using 2 I2C busses because the pulse oxi sensors library uses wire.begin() i.e. default I2C pins and I couldn't use same pins to read data from the accelerometer

Coming to gyro, then should I take temperature reading as well? and don't use it in the program.