Under federal law, a child is the son, daughter, stepson, stepdaughter, legally adopted child, or eligible foster child of the taxpayer.