If the child has been placed with you as a foster child by an agency or the government, you can claim a dependency exemption as long as the child has lived with you for more than half the year and the child doesn’t pay more than half of his/her support (foster care payments are provided by the agency, not you). If the child has been placed with you for a legal adoption, the child is treated as your own.
Debt used to buy, build, or construct a principal residence or second home and that generally qualifies for a full interest expense deduction.