AI's Impact on Scientific Research: A Double-Edged Sword