Unable to write on SD the same data showed on serial monitor

Is it DHT11 or DHT22 that you are using?

What is the name of the Library that you are using for DHT11/DHT22 sensor?