Accountants only concern themselves with direct costs which involve things like the cost of materials, rent, and labor for instance. This profit is aptly named "accounting profit".
Economists consider those costs as well, but they also include indirect costs such as opportunity costs of other investments. Recall that opportunity cost is the cost of what you give up if you make a certain decision.
For instance, if a car factory makes 4 door sedans, but it could be making more money with SUVs, then the opportunity cost is high and the economic profit is lower compared to the accounting profit.
The owner, Mr Jones, forgot to feed the animals. The cows, due to their hunger, broke into the store shed and fed themselves. Jones and his farm hands found out and whipped the cows. Hungry and upset animals turned on the men and drove them out.