How Does a Point-of-Sales System Work?