Thin filaments are composed primarily of actin proteins, while thick filaments are made up of myosin proteins. These filaments slide past each other during muscle contraction, allowing the muscle to shorten or contract.