Rats are omnivores and their diet can vary depending on their environment, but their main diet typically consists of grains, fruits, vegetables, and proteins such as meat or insects. They are also known to scavenge for food, including human leftovers and garbage.