code is nothing without data.
data segment - the program memory storing initialized global variable.
code segment/ text segmemnt - the program memory storing machine code loading from executable file on the hard disk.
Reference: https://www.lurklurk.org/linkers/linkers.html