In the 1980s, scientists made a discovery that would eventually lead to the development of drugs now used worldwide to treat diabetes and to help people manage obesity through weight loss injections.