Skeletal muscle is composed of bundles of muscle fibers that contain filaments of actin and myosin. Contraction occurs through a sliding filament mechanism when calcium ions are released from the sarcoplasmic reticulum in response to an action potential, causing the actin and myosin filaments to interact and shorten the muscle. The sarcoplasmic reticulum plays a key role in muscle contraction by storing and releasing calcium ions in response to electrical signals transmitted via the motor nerve.