Vitamins are organic compounds which are needed in small quantities to sustain life. We get vitamins from food, because the human body either does not produce enough of them, or none at all.
An organic compound contains carbon. When an organism (living thing) cannot produce enough of an organic chemical compound that it needs in tiny amounts, and has to get it from food, it is called a vitamin.
Sometimes the compound is a vitamin for a human but not for some other animals. For example, vitamin C (ascorbic acid) is a vitamin for humans but not for dogs, because dogs can produce (synthesize) enough for their own needs, while humans cannot.