Arduino does not connect to ide when some "parts" are installed

The TX and RX pins are the pins for the hardware serial, which is connected to the USB serial adapter on the board. They are used to upload sketches. If you have other parts connected to them, they will interfere with communication with the USB serial adapter, and hence prevent sketches from uploading.