Basketball was invented in 1891 by a will smith, James Naismith. It was originally inveted for something to do for his kids in his class so they could do something in the winter and not freeze there buts off outside. The rules have changed a bit but it is still a lot the same today. Basketball is one of the most played indor sports in the world and has had a major inpact on us sprots wise.
There are a lot of good websites, all you have to do is google- how basketball got started- and you can find everything you need to know.