What Is Difference Between Component And Directive?

What Is Difference Between Component And Directive? Component is used to break up the application into smaller components. But Directive is used to design re-usable components, which is more behavior-oriented. That is why components are widely used in later versions of Angular to make things easy and build a total component-based model. What is directive