(a) If all the green plants disappear from the earth, then all the organisms (herbivores, carnivores and omnivores) will die due to starvation as green plants are the source of food for all organisms.
(b) When photosynthesis occurs during the day, the carbon dioxide released by plants by respiration is all used up and not released. Similarly, some of the oxygen produced during photosynthesis is used up in respiration. Since the plant is releasing carbon dioxide and taking in oxygen even during the day, it means that no photosynthesis is taking place.