In a restaurant, a table's primary function is to serve as a surface for placing and consuming food and drinks, providing a designated space for guests to gather and dine together. Beyond this core purpose, tables also play a role in creating the overall dining experience and influencing customer perception.