Dear student,
Fruits and vegetable has suitable pH range and good amount of water content for growth of micro organism. Thus, to stop growth of micro organism it should be stored in the refrigerator.
Grains have very less amount of water content. Thus, it is not required to be store at lower temperature.
Regards