The body (肉体, nikutai?) is a recurring factor and philosophy in the Kingdom Hearts series; along with the heart and soul, it is a part vital to the complete existence of any living thing. The body gives the heart and soul a vessel, granting a person a physical appearance and a form. The body is a medium for a person's heart and feelings to be expressed in the physical world.
The heart controls the body, much like the brain in the real world, so when someone becomes a Heartless, and his or her heart is released, he or she leaves behind his or her body and soul, which is an empty shell and usually withers away. However, if that person's heart was strong enough, the soul will take control of the body and the shell will start to act on its own. A body being controlled by a soul with no heart is a being called a "Nobody."
While the heart is the deciding factor as to whether or not a person can wield the Keyblade, the body can be used in a loophole for acquiring the Keyblade, as seen with Ansem, Seeker of Darkness and Riku in Kingdom Hearts. Ansem possesses Riku's body, thereby controlling his heart and giving him access to Riku's Keyblade-wielding powers.
Should a Keyblade wielder discard their body to transfer their heart into a new vessel, it vanishes from existence. It will return after the destruction of the Heartless and Nobody that come from the vessel, as was the case for Xehanort, who was not able to absorb Terra's heart into his own. Through unknown means, Luxu can completely dominate his new host, making the body his own permanently.