Similar to a root canal, a pulpotomy is used to remove decay and restore infected teeth. The difference is that a pulpotomy is used in primary (baby) teeth and only removes the top area of the pulp whereas a root canal removes the entire pulp.