The whole idea is that the app would alert you if you may be infected so that you don't go out.
The problem is that sometimes people who don't yet know they are infected have contact with other people before anyone in the story finds out that they are infected. The apps allow the communication to happen:
1. Even if the people who had contact don't know each other.
2. Faster.
That's how we get ahead of the virus.