'Mac Code Signing certificates

I am totally confused about the mac certificates. I found around 5 different types of certificates in the Apple developers account for Mac. What is the difference between them? Which one is used when I apply an app in Mac app store for distribution?

  1. Mac Development
  2. Mac Installer Distribution
  3. Mac App Distribution
  4. Developer ID Installer
  5. Developer ID Application


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source