This is a UML diagram for the ticket vending process. The vending machine that sells and produces tickets to commuters is a subject of the example use case diagram. This kind of machine is a combination of both hardware and software, and it is only a part of the whole system selling tickets to the customers.