Understanding AI Models: A Deep Dive into the Types and Their Applications