The DHT11/Weather Station collects relative humidity and temperature data via its humidity sensing component and thermistor respectively. Then, it uses an algorithm to calculate the temperature and humidity from the readings and transmits them to other electronic devices through its data output pin.