Immunity and symbiosis