good thing you asked
you cannot put an Intel processor into an AMD socket.
if you do you will have a processor and a motherboard that will be broken
to be able to use that processor you have to buy an LGA 775 socket motherbboard
however, the Pentium D is a horrible processor you will need a good cooler to keep it under good temps, the processor could probably heat a room without a fan
go with an AMD Athlon II x2 240 for 59 USd and an AMd motherboard
this will probably cost you around 120 USD for both compared to the intel setup which would be around 80 dollars for the motherboard. however, you wouldn't ever be able to upgrade your computer without spending more money on a new mobo and processor because LGA775 is almost dead.
the best option would be an AMD setup that way you spend money once and your set for around 3 years compared to an intel setup which will be obsolete in 6 months