The classic example is the termite. Termites don't digest wood. They do however have an organism living in their gut that does, so the termite gets nutrition from the commensal and shares nutrition with the bug in turn.