The Ways in Which Prokaryotes Obtain Energy Prokaryotes can use different sources of energy to assemble macromolecules from smaller molecules. Phototrophs (or phototrophic organisms) obtain their energy from sunlight. Chemotrophs (or chemosynthetic organisms) obtain their energy from chemical compounds.