A variety of biotic factors such as pests, nematodes, diseases, etc. can reduce the net crop production. A pest causes damage to agriculture by feeding on crops. For example, boll weevil is a pest on cotton. It attacks the cotton crop, thereby reducing its yield. Weeds also reduce crop productivity by competing with the main crop for nutrients, light, and space. Similarly, abiotic factors such as salinity, temperature, etc. affect the net crop production. Some natural calamities such as droughts and floods are unpredictable. Their occurrence has a great impact on crops sometimes, destroying the entire crop.