Tarsal tunnel syndrome is a condition caused by the compression of the nerve that runs the length of the inside of the leg, resulting in ankle pain.