Generative AI: How it Works and Why it Matters