Tree planting is important for the environment because trees absorb carbon dioxide, produce oxygen, provide habitat for wildlife, and help prevent soil erosion. They also improve air quality and contribute to climate regulation.