Because Algae and Plants are primary producers they provided the food and habitat for other terrestrial organisms.
(Algae and Plants; are; primary producers they provided the food and habitat for other terrestrial organisms) (they; provided; the food and habitat; for other terrestrial organisms)
Algae and Plants they
are provided
primary producers they provided the food and habitat for other terrestrial organisms
the food and habitat for other terrestrial organisms