Rats are known to be omnivores and will eat a wide variety of foods. Some common foods that rats like to eat include grains, fruits, vegetables, nuts, and seeds. Additionally, rats have a strong preference for foods that are high in fat and sugar content. It's important to note that while rats will eat a wide range of foods, it's essential to provide them with a balanced diet to keep them healthy.