Generative AI Demystified: Unraveling its Concepts and Capabilities