Answer;
-Nonliving and biotic
Step-by-step explanation;
-A decaying tree would be considered a biotic as it is now dead, however it will form an ecosystem of bacteria, fungi and other saprotrophs.
-The living things in an ecosystem are called biotic factors. Living things include plants, animals, bacteria, fungi and more.
-The non living parts of an ecosystem are called abiotic factors. In an ecosystem some abiotic factors are sunlight, temperature atmospheric gases water and soil.