Serial Port device names

ok so the D0/D1 pins are different to the RX/TX pins on the 4 pin header?

If so, what are they referred to as in the arduino IDE?