Roxas came into being when Sora briefly became a Heartless after releasing his own heart to save Kairi.
When someone becomes a Heartless, the empty shell left behind becomes a Nobody. In Sora's case, that Nobody is Roxas.