The intensity of the light has a great impact on the parameters, and it is not appropriate to use "good" and "bad" to define.
Cameras are equipped with a metering function, so you can use the center-focused metering method to photograph food.
It's important to note that food photos are usually brighter, give a better impression, and make it easier to show the texture of the food. In most cases, it's recommended that the parameters be increased by one or two stops compared to normal metering, with exceptions, of course, such as darker-colored food, and so on.
Good luck