To turn an image into a vector file using Illustrator, follow the steps given below:
- Import the image in Illustrator
- Open the Image Tab and choose Image Trace
- Select a preset option and create a separate path for each color
- Go to Option > Tracing Preset
- Press the preview button to see the resulting image and then export your drawing with .SVG extension.