With this configuration, when Track 1 is UP, traffic to the Internet (8.8.8.8 is the well-known DNS of Google) flows through ISP1. When Track 1 is DOWN, traffic to the Internet flows through ISP
2. But there is a problem with this configuration is we did not specify the source IP of the track.
Usually, our router (R1 in the figure below) is connected to two ISPs via two different interface like this:

So if we don't specify the source IP, R1 will ping via E0/0 to ISP1. If the ping fails, R1 will remove the first default route so the backup path via ISP2 will be used and traffic will be sent via E0/1. But it also makes the track UP again (as we did not specify the source IP) and the main path is installed again to the routing table -> The connection will flap between two ISPs.
Therefore, in order to solve this issue, we must configure a source IP for the ping. In the example above, we can configure like this: "icmp-echo 8.8.8.8 source-ip 10.0.12.1".
Note: The configuration above means:
Timeout: 2000 milliseconds
frequency: 5 seconds
threshold: 1000 milliseconds
Reference: https://www.cisco.com/c/en/us/support/docs/ip/ip-routing/200785-ISP-Failover-with- default-routes-using-I.html