The presented UML activity diagram depicts the online food ordering system and its functionality. The process starts with the customer going through the menu, then selecting from the menu items and placing them in the cart. Upon the order being placed, the next stage is the payment. If successful, the order is then prepared, delivered, and confirmed with the customer who ordered. In case of payment failure, the user is notified, and the order is canceled. The flow shows the possible outcomes at each stage. It improves the online ordering experience by guiding customers' operations for timely deliveries.