Default [Q] Android Flash

I want to know something about Android Phone.
Can Android Phone reset all the data if am flashing this.
Pls reply.
Thanks