Food consumption is used as a symbol for social status in the play. The more food is consumed by a person, the higher is his social status and the more prominent people he knows. Oscar Wilde uses the play to show that excessive society.
It shows how selfish Jack and Algernon are because they basically dine and dash. They go out to eat at expensive restaurants and eat tons of food, but then they leave without paying for it.