Roaches prefer energy-dense, rotten food. They go out at night to find any leftovers you might have in your house. They can also be attracted to trash cans and unwashed dishes.