There is more then 2 groups of minerals
The sun is the energy source for plants
Mineral is a naturally occurring, inorganic solid that has a crystal structure & a definite chemical composition.
Organisms that use the same resources because there may not be enough for all, so it then becomes a competition of who gets it and who doesn't.