Combining DHT22 and DFPlayer Mini

Hello, I am very new to Arduino and I would like to figure out how to combine both the DHT22 and the DFPlayer Mini.

I would like the DFPlayer to play an audio file once the DHT detects a certain temperature, however, there are very few tutorials on the DFPlayer so it is quite difficult to figure out how it works itself.


how about:

float temperature = DHT.readTemperature();
if (temperature > threshold) {;