Here is a chart that will help you understand the rules concerning the claiming of an exemption for a dependent:

The rules that were in place BEFORE 2005 were different. If you are preparing a delinquent return for 2004 or prior year, please be sure to research and follow the prior rules concerning dependent exemptions.
Updated 1/5/2009