SVN versus nightly build

Does anybody know thw difference between the SVN code and the nightly build?.

I could see that some plugins of the SVN tree, like roles or friendfeed, that appear to work properly, are not present into the nightly build. Is the nightly build an exact copy of the SVN core and only certain plugins?.

Thanks in advance for your answer.