What does it mean when poop is green?

Your stool can be green if you ate green things, such as spinach.