Why are the QWERTY keys arranged the way they are?

The keyboard layout is how it is because of an old typewriter made specifically for the Sholes and Glidden typewriter, according to wikipedia. If you want to know more about the layout of the keyboard, check out the website below.