Check out a tutorial by 3D Artist that will explain you the basic principles behind rigs in Maya.
Lewis Pickston shows you how to build a rig for a tropical fish model and then animate it procedurally using deformers. Not to be missed!
Make sure to check out their channel for more videos on Maya and other tools.