What is the function of the root canal in a tooth?

V korenovite kanali se namira nerva na zaba,Toi e svarzan s osnovnite nervi,koito idvat ot mozaka.