.app - Mac Applications
To see what is inside an application you can open it with Finder. Select it with a single click with the mouse and choose "Show Package Contents" from the "Gear" (menu)button. Now you can browse the folders inside tha applications to see what's inside.
An application is a special kind of "Bundle". See API for using a Bundle
If you want to make an application, a simple way is to use Swift