In plants, respiration occurs both during the day and night, whereas photosynthesis occurs only in sunlight (day). In photosynthesis, CO2 is used and O2 is expelled, whereas in respiration, O2 is used and CO2 is expelled. At night, there is a deficiency of O2 and excess of CO2 under the tree because there is no photosynthesis, hence the use of CO2 is less. A person who sleeps under a tree at night will get less oxygen for respiration and more CO2, hence his health will be poor.