It can be confessing about anything from cheating on an exam, admitting to having an affair all the way to committing a crime.
If they could've gotten away with it and there was no way of them ever being discovered, what makes some people actually confess? Is just guilt alone that powerful?