Storage. The 80GB model simply has more room on the hard drive, and that was the headline difference between the two.
Worth adding, since it mattered more than the drive size to a lot of owners: the 40GB model dropped backwards compatibility with PlayStation 2 discs, while the 80GB revision kept a limited version of it. So the smaller console was not just the cheaper one, it was also the less compatible one.