The grains are properly dried in the sun to reduce the moisture in them. This prevents the attack by insect pests, bacteria and fungi.
Farmers store grains in jute bags or metallic bins. However, large scale storage of grains is done in silos and granaries to protect them from pests like rats and insects
Dried neem leaves are used to protect them from pests and microorganisms.
Some chemicals are also used to kill pestseg. Boric acid