Thus Ambiguity is a vast area in Linguistics, which has many types according to many critics and schools. But all those could be exhausted in the three discussed above. Those are:
Lexical, Syntactic and Semantic Ambiguity
Lexical: Any ambiguity resulting from the ambiguity of a word which has multiple parts of speech.
Syntactic: Structural or syntactic Ambiguity refers to the situation in which a sentence may have different meanings because; the words of a sentence are related to each other in various ways, even though each word is clear and unconnected.
Semantic: Semantics is nothing but "Meaning". If a word or phrase is Ambiguous in its meaning then we call it as Semantic Ambiguity. That is even after the syntax and the meanings of the individual words have been resolved, there are two ways of reading the sentence.
And as it was discussed above, Ambiguity is much helpful in Language and literature, which in literature is used by the author with an intention to grasp the readers towards the text.
Also look at the videos above to learn much about IC analysis and its role in Linguistics. Thus, everything in the creation has both positive and negative side. So does Ambiguity. It depends on the context in which it is used.
INTRODUCTION TO LINGUISTICS & PHONETICS - AMBIGUITY