Analyze the difference between literary criticism and ideological criticism with examples.

The difference between literary criticism and ideological criticism is that literary criticism is a form of criticism that analyzes and evaluates the creative skills, artistic value and cultural connotation of literary works. For example, for Shakespeare's plays, literary critics will evaluate and analyze the characters, plot design, language expression and other aspects to explore the aesthetic and cultural significance of the works. On the other hand, ideological criticism is a form of comment that analyzes and evaluates the connotation, significance and value of ideological theory or cultural phenomenon. For example, for some hot issues in today's society, such as the Internet and artificial intelligence, ideological critics will analyze them from the perspectives of philosophy, sociology and ethics to explore the significance and value behind them. For a simple example, literary critics can analyze and evaluate the classic literary work A Dream of Red Mansions from the aspects of novel structure, characterization and image application, and explore its artistic value and cultural connotation. Ideological critics may analyze the social history, female consciousness, official culture and other aspects to explore its influence and practical significance on the society at that time.