A Filter Machine

Within, I clean all that is bad and is old.
I make juice that’s the color of gold.
Should I die, a filter machine would you need assembled to replace me
and beans I resemble.
What am I?

A kidney.

46
15