The ultramicroscopic threads of filamentous proteins making up myofibrils in striated muscle. Thick ones contain myosin and thin ones mostly actin; thick and thin myofilaments also occur in smooth muscle fibers but are not regularly arranged in discrete myofibrils and thus do not impart a striated appearance to these cells.