As we all know, the sun is the main source of energy in the solar system.First of all if there's no sun the whole earth would turn out to be dark .Secondly all the plants on this earth may die as You know plants need sunlight for the process of photosynthesis .If the plants die animals that feed on plants may die even humans who are vegetarians .
If the herbivores die then the carnivores will die in such a way the whole life on this earth will die .
If the herbivores die then the carnivores will die in such a way the whole life on this earth will die .