According to the sliding filament theory, muscle contraction occurs when thin (actin) filaments slide past thick (myosin) filaments, pulling the Z-discs closer together and shortening the sarcomere. The individual filaments themselves do not shorten or change type.