Basically, the entity known as Kingdom Hearts in this series is analogous to "God". Not the traditional Abrahamic sense of God, who acts and talks like humans, but the Eastern belief of God, the "Over-Soul", as one Western philosopher puts it.
Here are some basic definitions of the Over-Soul...