Invented by Canadian James Naismith in 1891, while he was teaching at the YMCA in Springfield, Massachusetts, basketball is now one of the most popular sports in the world.