In a restaurant, a ticket refers to an order or a bill generated for a customer. It typically includes details of the food and drinks ordered, any modifications or special requests, and the corresponding charges.