They are connected, and the games are deliberately vague about how to phrase it. Roxas is Sora's Nobody — born when Sora briefly lost his heart — so he is a separate being who shares Sora's memories and appearance rather than a different person entirely.
By the later games the relationship is settled: Roxas is a fragment of Sora who eventually returns to him. The "same DNA, 50/50 chance" line you sometimes see repeated is fan speculation, not canon.