I think you are talking about Nightfall by Asimov. <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Nightfall_(Asimov_short_story_and_novel)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Nightfall_(Asimov_short_story_...</a>