Translations:Manual:$wgUser/5/en

It handles the details of getting and saving to the "user" table of the database, and dealing with sessions and cookies.