Basic form of life

I am a basic form of life. Over time, I can destroy rocks. I may or may not produce poison. I support all life in two ways. What am I?