How neem seed act as a repellent ?

neem seed

Neem seed suspension act as a repellent against locusts and grasshoppers. Kernels of mature neem fruits should be crushed into a coarse powder. For obtaining 0.1% concentration, 1 g of powdered neem seed is required for a litre of water. The required quantity of the coarse powder should be put in a small bag of muslin cloth and dipped in water contained in a bucket and squeezed till the water becomes light brownish. This has to be sprayed on crops.