The bitcoin supplemental medium article states the following:
The second output belongs to person A as well as it’s the change he is getting back from the operation. If the transaction didn’t include the second output it would have been gone as a fee.
Why does Bitcoin need this concept of “change”? Why would the app that is generating the transaction not just compute and send the exact amount to person B?