The widespread use of drugs like Ozempic is giving scientists a clearer picture than ever of their effects.