One critical action that ChatGPT does when generating code is that it always leaves comments to describe logic wherever necessary. This default action is a blessing for the future debugging of issues enables arriving at solutions quicker than without it.