Drying clothes in air and sunlight consumes no natural resources. In addition, sunlight includes ultraviolet rays which destroy viruses and kill bacteria.
Clothes dryers use at least electricity and perhaps also natural gas. Electricity production also uses natural gas, or coal, or oil, at least in most parts of the country. Global warming from increasing carbon dioxide levels in the atmosphere is all due to one single cause - the burning of fossil fuel - coal, oil, and natural gas. So. every time you dry clothes by machine instead of using air and sunlight, you contribute some small amount to global warming.
All extraction, modification and transportation of fossil fuels also has negative impacts on the physical and natural world, including landscape degradation, habitat destruction, and soil, water and air pollution. These effects are mitigated but not eliminated by current environmental protection standards.
The question for you is, how much damage to mother nature are you willing cause in order to have dryer-fresh clothes?