why do we need blood drawn?

i remember being younger and having to go to the doctor for a checkup. i got some shots and a lot of blood drawn. i wasn't scared.. i was just thinking what was it was all for? was there something wrong with me? so why do we have to get blood drawn? for what precautions?