The image above (reproduced from the NRC) shows a nuclear reactor heating up water and spinning a generator to produce electricity. It captures the essence of the system well. The water coming into the condenser and then going right back out would be water from a river, lake, or ocean. It goes out the cooling towers. As you can see, this water does not go near the radioactivity, which is in the reactor vessel.