I saw an animal at school. It has eight legs and wings. It flies with two drooping legs. It looks like a wasp and climbs like a spider. Someone knows what that is.

You should be talking about the male breeding bee of the long-legged wasp. The tentacles of male bees are generally nearly half as long as those of female bees. It is estimated that eight legs are your illusion (six legs plus two long tentacles, after all, eight-legged insects have not been discovered). Moreover, the male bee has one more abdomen than the female bee, and it is different to climb up!