A repayment of principal is never deductible. Interest on the loan may be deductible, depending on what you used the proceeds for. If you purchased securities, the interest is treated as investment interest deductible as an itemized deduction to the extent of net investment income. If you used the proceeds to buy a principal residence or second home and you are not a key employee, you can usually obtain a full interest deduction if the loan is secured by the home. But if you used the proceeds for personal reasons (e.g., paying medical or college expenses), no interest deduction is allowed.
Depreciable property used in a trade or business and held for more than a year. All Section 1231 gains and losses are netted; a net gain is treated as capital gain, a net loss as an ordinary loss.