Directives in Angular are the class which allow us to add additional behavior and modify existing behaviour to our elements . We can use the directives to manage forms, lists, styles.
Directives are needed when we want to modify the structure of the DOM i.e. add or delete the HTML element or to modify the appearance of the DOM or component.