What do x64 and x86 mean?

Hey,

What do x64 and x86 parts mean with operating systems?

I thought it was for how many bits the operating system was such that Vista would be x64 for example, but I have a folder for x86 programs but what is it?