Let me introduce you to Mr. Sheldon Brown (RIP)
http://www.sheldonbrown.com/
His website is the bicycle bible, it has an immense wealth of knowledge well worth your time to read... it's an enjoyable read too.
I strongly recommend you have a good read as it will be an invaluable reference tool for your first build. Come back here if you still have questions or don't understand something.