Is my iMac running Mavericks?
Go the to the Apple menu (top left) => About this mac. 

The existing versions are following : 


OS X 10.10 Yosemite
OS X 10.9 Mavericks
OS X 10.8 Mountain Lion
OS X 10.7 Lion