Hello,
HWC applications are based on web technologies as Html5, jquery, javasciprt. In your application when you need to access device functionalities as openin Camera inside application or openin device Gallery. etc. then you use phonegap sdk. Take a look following link http://www.slideshare.net/dqminh/introduction-to-phonegap-1213406
Regards
Tahir