Is it true that raw foods are better for us than cooked?

Raw verses cooked. Washed raw fruit and vegetables contain more nutrients than those cooked. Certain types of foods must be cooked for safety however.