What a smart object stores
A smart object keeps its source content in a separate embedded file, plus a placement: a transform (scale, rotation, perspective) and an optional warp. Photoshop applies the placement non-destructively, so the content can be swapped and re-rendered at any size.