Cornstarch is added to chicken noodle soup as a thickening agent, enhancing its texture and consistency.