import is used for calling library from its location to your component and uses that library functions in your component.

BY Best Interview Question ON 30 Jun 2020