Please supply the computer hardware configuration information as it relates to the ability of the build year model number and specifications; as these are needed to know what you have. There are limits in the hardware on what Mac OS X versions can be used, as some machines are considered 'vintage' and unable to run a system many years newer than the hardware.
So if you can visit the Mac App Store, the App Store, and the iTunes Store, within Mac OS X 10.6.8 in the MacBook, do you have an Apple ID? This is required to upgrade an OS X & also upgrade Mac Apps.
Look into this page (link) and select the system (click) your computer has running in it
•Apple - Support - OS X - Upgrade:
http://www.apple.com/support/osx/upgrade/
•OS X Mavericks: System Requirements
http://support.apple.com/kb/HT5842
Find out if your computer can run Mavericks 10.9.2.
If it can, it also could run Mountain Lion OS X 10.8.5
Also an older computer that ran OK in Snow Leopard or earlier
may balk at Mavericks, but do OK in Mt Lion, or Lion 10.7.5.
But it may need more chip RAM installed for a later OS X.
•Apple - Support - OS X - Mountain Lion Topics:
http://www.apple.com/support/osx/mountainlion/
•How to identify MacBook models
http://support.apple.com/kb/HT1635
•MacBook: How to find the Serial Number
http://support.apple.com/kb/HT1366
•Identify your Mac by model number or serial number lookup:
https://www.powerbookmedic.com/identify-mac-serial.php
For more extensive information on most Mac models, see the
everymac.com site, or get info download http://mactracker.ca
If you can identify your MacBook, that helps to know what it can use
& what the update or upgrade potential is, to advance to newer OS X.
In some cases, the best bet in an older Mac is to stay with 10.6.8.
{edited & checked links + facts twice}
Good luck & happy computing! 🙂