This is true as any composite number can be expressed in terms of its prime factors. The prime factors for 2 numbers can be same but their combination is unique.
Example,
12=22∗3 and 18=2∗32
Both have prime factors as 2 and 3 but the combination that 12 has is different from that of 18.