The history of green chilies goes back thousands of years. They where used in  Southeast Asia and also introduced to Europe. Now a days are cultivated worldwide.
Hot Chillies (aka “Spicy”). Hot chillies come from the Capsicum family
Mild Chillies (aka “Sweet”). Mild chillies belong to the C. chinense sub-family