Chili pepper (not to be confused with the country called Chile) is the fruit of a series of plants called Capsicum (nightshade family). Chilis are now grown all over the world, but originally, they came from Mexico. They are used as spices or as vegetables, and also have some use in medicine.
Chili peppers are completely unrelated to the Piperaceae genus, which Black pepper is from.