Most commonly a rubbery material called gupta percha is used to seal the canal system with a sealer. ( resin or non resin based).
All of this material is usually confined to the tooth and should it be connected to the blood stream. Over filing a tooth could have some blood contact. Many years ago some teeth were filled with silver points, this is no longer routine practice.