How different kinds of muscles work effectively and efficiently?

Muscles are supplied by different nerves and they are placed at different parts of the body. But all the muscles are controlled by brain only. It regulates the movement of all muscles. It means contraction of muscles are relaxation of reciprocal muscles in controlled manner.