The page explaining double entry accounting is worth an HN post on its own
https://finbodhi.com/docs/understanding-double-entry
https://finbodhi.com/docs/understanding-double-entry