The writer's work put in developing lots of details about a character to make that character as rich, deep, and believable as possible.