Community

Difference between $account variable and $user variable and user_save function?

Hi,

1)read but i still don't understand.
What is difference between $account variable and global $user variable and user_load()?
Why i need $account variable if i have user_load() ?
2)and what are the variable of $edit and $category?
for example that function:
user_save($account, $edit = array(), $category = 'account')
http://api.drupal.org/api/drupal/modules%21user%21user.module/function/u...

-"$category: (optional) The category for storing profile information in."
what category? what options of category we have ? how is this related to the profile?
and what are the profile information categories? like here: hook_user_categories()
http://api.drupal.org/api/drupal/modules!user!user.api.php/function/hook_user_categories/7
-what is the $edit variable ? and how is this related ?
"$edit: An array of fields and values to save. For example array('name' => 'My name'). Key / value pairs added to the $edit['data'] will be serialized and saved in the {users.data} column."