More-or-less what Beta said. Keeps the system from losing the date and time information, probably a few other things, if the system loses power for any reason.
As far as the YLoD, no clue. Far as I know all you can do is fix it if it happens, and otherwise don't worry about it.