Demystifying AI: Understanding and Applying Artificial Intelligence in Scientific Research