What makes visa applications rejected?

Garnering a country visa is always a taxing attempt unless you meet up the entry prerequisites of the visiting nation. And the most agonising part of the entire visa life cycle is when the visa application form of an applicant gets rejected! Do you know the reasons that really make an Embassy or Consulate to