Apache Cordova

Apache Cordova packages a web application built with HTML, CSS, and JavaScript into a native mobile application that can be distributed in app stores and installed onto smartphones. It extends the web environment's functionality by exposing native device APIs.

PhoneGap is a distribution of Apache Cordova. You can think of Apache Cordova as the engine that powers PhoneGap, similar to how WebKit is the engine that powers BlackBerry 10 browser.