Accenture interview question

what is the difference between component and directive