The study of the functions and mechanisms of muscles, including contraction, relaxation, and energy consumption.