How Apps/Websites Talk

Ever clicked a button in an app/website and wondered: