Directories treated by OS X as executable
They are called Packages or bundles.

From Apple's Documentation:


  
  A package is any directory that the Finder presents to the user as if it were a single file.
  A bundle is a directory with a standardized hierarchical structure that holds executable code and the resources used by that code.
  


Apparently there is a special "Package Bit" that's set on those directories.