Folklore has it that William Webb Ellis invented rugby around 1823 while he was a student at the Rugby School in England. The claim is disputed, but there are no primary sources to prove who actually invented the sport and when that happened.
This video animation provides more detailed information on the game and how it is played.
Video clip describing the details of rugby.
Images, linked in the above description, online courtesy Wikimedia Commons.