These two frameworks all contain Objective-C runtime;
Cocoa contains Foundation and Appkit, it is used for Mac OSX developing; Cocoa Touch contains Foundation and UIKit, it is used for iPhone os developing AppKit is the same as UIKit, just being used for different platform;
Foundation defines the root class, NSObject, and it is based on Core Foundation.