The casting director is in charge of finding the right performers for a given project.
For obvious reasons, the casting director’s job is often finished long before physical production begins, and, in that sense, they operate entirely outside of the day-to-day film crew hierarchy. However, their existence as one of the above the line film crew positions demonstrates an important principle.