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.
The tax on the investment income in excess of $1,700 (may change after 2007) of a child under age 18, based on the parents’ marginal tax rate and computed on Form 8615.