The Major difference between the both of the SharePoint versions is SP Foundation is free and for SP Server you need to pay the license cost.
You won’t find following features in Foundation edition.
Secure Store Service
Tag Clouds & Profiles
Here is the link to dig more.