Trees produce oxygen through the process of photosynthesis, which is essential for human and animal respiration. We breathe in the oxygen that trees release into the atmosphere. This oxygen is crucial for our survival as it helps in the functioning of our cells and organs.