Understanding Generative Artificial Intelligence