Generative AI: How it works and where it's used