Here is the classification of the items you provided as biotic or abiotic factors:
- Sunlight and heat: Abiotic
- Insects: Biotic
- Rotting log: Biotic
- Bacteria: Biotic
- Water: Abiotic
- Rocks: Abiotic
Biotic factors are the living components of an ecosystem, while abiotic factors are the non-living physical and chemical components.