Simply: Flight Director is a system that computes desired pitch and roll from parameters like heading, altitude, vertical speed. Then an autopilot computes control surfaces deflection from given parameters: pitch and roll. So: Pilot sets altitude, heading for Flight Director. Flight director then computes pitch and roll for Autopilot (and human ... More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.