What must a muscle do in order to do work?

IT must have blood flow (oxygen food in, carbon dioxide out), and nerve control from the brain.