The individual is essentially asking if you have eaten your dinner, lunch, or breakfast. It is sometimes an indicator that they want to invite you out. It is sometimes an indicator that they are concerned about you. Sometimes it is simply a reflection of what you ate at the time. If you say no, then they may think that you will be hungry when they eat and wish to provide you with an opportunity to do so.