A tree is both a consumer and a producer. It consumes water, nutrients from the soil, and carbon dioxide from the air while producing tree mass (leaves, bark, wood).
Generally though, it is considered a producer.
Note that despite the "expert answer" trees do not make energy from light - they convert light energy into chemical energy. By the first law of thermodynamics you cannot "make energy" you can only convert it from one form to another.
decomposer
Producer
producer
producer
Consumers
it is producer
A black alder tree is a producer because it creates its own food through photosynthesis. It is not a consumer or decomposer.
For me it is decomposer for it is just a banana mentioned not the banana tree.
consumer
Consumer
consumer
chyna