Living and Nonliving Interactions

How to living and nonliving things interact in ecosystems?