May contain peanuts?

What does it mean when a food packaging says it may contain peanuts (or any other ingredient)?

Does that just mean the food is made in a factory that contains peanuts? What are the chances the food does actually contain peanuts, when it's not on the ingredient list, just on the warning label?