The difference is exactly that: a connected route is a route to network that is directly attached to the interface. Local is the route that belongs to the router/switch itself.
UPD: if you look closer, you'll see that these are not the same prefixes. The Local one will be for a configured IP address itself (not the subnet) and the prefix length is /32.
Each local route has a /32 prefix length, defining a host route, which defines a route just for that one IP
address. For example, the last local route, for 172.16.5.1/32, defines a route that matches only the IP
address of 172.16.5.1. Routers use these local routes that list their own local IP addresses to more
efficiently forward packets sent to the router itself.
After a router has added these connected routes, the router can route IPv4 packets between those