Commenting in computer programming is like leaving a note in a book you're reading. It helps explain what a certain bit of code is doing, and why it's there, so that if you come back to the code later, you know what it means. It also helps other people who might look at your code to quickly understand what it does.