Insulin was discovered in 1921 by researchers Frederick Banting and Charles Best at the University of Toronto. They were able to extract the hormone from pancreatic extracts and successfully use it to treat diabetes in dogs. This breakthrough discovery marked the first time insulin was used to treat diabetes and paved the way for its widespread use in humans, revolutionizing treatment for the disease.