have wings but I am not a bird

Riddle
I have wings but I am not a bird. I am small, colorful, and beautiful. I live in gardens and fields and forests. I used to be a caterpillar. 

    A butterfly