During photosynthesis, trees and other plants absorb carbon dioxide and give off oxygen. Trees keep in cheek the air and water pollution. Why planting trees is important is evident as they are the natural habitat of the animals and birds, as well as many endangered species.