how are these creatures classified as per the scientific classification in the animal kingdom?
It is an insect of the narrow-waisted suborder Apocrita of the order Hymenoptera which is neither a bee nor an ant;
Wasp
 wasp is any insect of the narrow-waisted suborder Apocrita of the order Hymenoptera which is neither a bee nor an ant; this excludes the broad-waisted sawflies (Symphyta), which look somewhat like wasps but are in a separate suborder. The wasps do not constitute a clade, a complete natural group with a single ancestor, as their common ancestor is shared by bees and ants. Many wasps, those in the clade Aculeata, can sting their insect prey.

where do wasps fit in the food chain UNANSWERABLE
wiki:8656631
Wasp [SEP] Introduction
Many of the solitary wasps are parasitoidal, meaning they lay eggs on or in other insects (any life stage from egg to adult) and often provision their own nests with such hosts. Unlike true parasites, the wasp larvae eventually kill their hosts. Solitary wasps parasitize almost every pest insect, making wasps valuable in horticulture for biological pest control of species such as whitefly in tomatoes and other crops. Wasps first appeared in the fossil record in the Jurassic, and diversified into many surviving superfamilies by the Cretaceous. They are a successful and diverse group of insects with tens of thousands of described species; wasps have spread to all parts of the world except for the polar regions.