The data clearly shows that grains, fruits and vegetables have the smallest carbon footprints, followed by nuts and beans. For example, producing one kilogram of beef emits 150 times more greenhouse gas than one kilogram of onions.