legs of a table
Refers specifically to the legs of a table or desk. The phrase is a simple compound noun.
One of the table legs broke.
The legs of this desk are made of metal.
Compound of 机 (つくえ, 'desk/table') + の (possessive particle) + 足 (あし, 'leg').