a) Detritivore, because it eats dead stuff with its mouth.
b) Producer, because it provides food for consumers.
c) Saprotroph, because it digests dead stuff by dissolving it first, then absorbing the liquid remains.
d) Consumer, because it eats living organisms with its mouth.