Demystifying Generative AI: What It Is and How It Works