A corn is a form of callus, a protective layer of dead skin cells formed due to repeated friction of toes rubbing together or against the shoe. The build-up of skin can put pressure on a nerve causing sharp pain. Corns can develop on the top or between toes.