Arduino Mega 2560 HELP ! Dealing with GPS

i understand all of the code. im just trying to understand the RX and TX ports honestly for each board so it can be programmed properly