A TraceId is used to distinguish one trace from another. That way the variables from one trace will not be confused with the variables from another possibly nested trace, as they may share identifiers.