The processes that take place in both make products that are used by the organism as an energy source