Understanding What is Generative Artificial Intelligence: A Comprehensive Overview