A visible button is only one part of an application. Frontend usually means the interface and the code presenting it; backend means the services handling work behind that interface.
These are useful responsibilities, not a rule that every app has exactly two programs. Some work happens locally, some remotely, and a feature can involve several services.
Understanding the split helps you ask where data travels and where a failure might be. The symptom on screen is a starting point, not a complete diagnosis.