In what forms does potential energy enter a microbial ecosystem?

In what forms does potential energy enter a microbial ecosystem? Which energy classes of microorganisms can exploit each?