We come across the word "manifold" in artificial intelligence, especially in the domains where learning is done based on data instances.

What is the formal definition for manifold?