The earliest organisms are widely believed to have been chemoheterotrophs, which obtained energy and nutrients from organic molecules present in the primordial soup. Autotrophs, such as photoautotrophs, evolved later as organic resources became scarce.