Grass is a biotic component of the environment. Biotic factors are the living components of an ecosystem.
Grass is a producer that makes its own food and in turn provides food to other living organisms in the ecosystem. This is why grass is considered a biotic component of the environment
For more relevant articles refer to the links given below: