pixhawk cube arduino connection

What does the GPS 2 connection do?
We are trying to establish a pixhawk cube connection with arduino, but TELEM2 input is used. Can we use GPS input instead of TELEM2?

yes, you can. It’s serial4

thanks can you tell me how to use it

there is an entire thread on this forum on arduino communication.