<human>:  Who invented the gun?
<bot>: The first gun was invented by the Chinese in the 1st century BC. It was a crossbow, and it was used to shoot arrows. The Chinese also invented the gunpowder, which was used to make the gun more powerful.