Sprite sheet animations with animator

I wish to know that how to use the animator when I want to create Sprite sheet animations using a series of png images (usual run, jump and so on).
I have some code to actually play an animation sequence out of a Sprite array (or linked list) but I don’t know how to harness the power of mecanim here.
Thanks in advance.

Since this is a quite complex subject, here’s a tutorial that should help you: