What an incredible find! I can only speculate at the reasons why a machine like that would have find its way into your local dump...
Some notes: As mentioned by others, since the A1150 has a 32-bit Core Duo, you're capped at Snow Leopard; good web browsing options are Interweb and ArcticFox. They're not perfect as some sites break (like, in my experience, Discord and Slack), but it should be good enough for most web tasks.
Also worth noting is that 32-bit Macs are limited to 2 GB, with 1 GB in each RAM slot. (And no, they won't take a 2 GB DDR2 SODIMM, at least in my experience.)
If you're looking for a good project to do with this Mac, put a cheap SSD in it (a fairly easy task!) and install Linux on it. Note that you'll need to use a 32-bit distro more suited to low-spec environments. MX Linux is what a lot of folks like to use.