Illustrator is mainly being used to create SVG files like icons, logos or illustrations. The main advantage with SVG files is, they look crispy clear on every device. You're even able to animate them.