Advancements in Generative AI: From Research to Real-World Applications