Pepper spray is basically capsaicin, which is a chemical derived from peppers or chilis, made into aerosol form. It inflames the mucous membranes in the eyes, nose, throat and lungs. This causes irritation of the eyes, a runny nose, coughing and difficulty breathing. Depending on the exposure, the effects can last from 20 to 90 minutes.