A chemical substance produced by one organism that is beneficial to both itself and a member of another species.