Answer the following question given this paragraph: 

One major factor that limits the length of food chains is energy. Energy is lost as heat between each trophic level due to the second law of thermodynamics. Thus, after a limited number of trophic energy transfers, the amount of energy remaining in the food chain may not be great enough to support viable populations at yet a higher trophic level. The loss of energy between trophic levels is illustrated by the pioneering studies of Howard T. Odum in the Silver Springs, Florida, ecosystem in the 1940s (Figure 46.5). The primary producers generated 20,819 kcal/m2/yr (kilocalories per square meter per year), the primary consumers generated 3368 kcal/m2/yr, the secondary consumers generated 383 kcal/m2/yr, and the tertiary consumers only generated 21 kcal/m2/yr. Thus, there is little energy remaining for another level of consumers in this ecosystem.


Q: Energy is lost as heat between each trophic level due to the second law of what?


A:
thermodynamics