A simile is a figure of speech that compares two objects by stating that one is similar to the other, in this case it is comparing the person's legs to overcooked noodles; a simile uses the words<em> like</em> or <em>as</em>.
Similes are resources used in literature to make a more rich and vivid description.