Business logic is the custom rules or algorithms that handle the exchange of information between a database and user interface . Business logic is essentially the part of a computer program that contains the information (in the form of business rules) that defines or constrains how a business operates.