Most Mac applications are neatly packaged, but you can easily peek inside using Finder or Terminal. App package contents typically include executable files, resources, configurations, and libraries.
This command opens the specified file in its default application. For example, a markdown file might open in Xcode or another text editor. Open a File in a Text Editor: open -t ./path/to/your-file.md ...