Socks are a fabric covering to the foot which may rise to the ankle or above. Socks are worn over the foot and put on before shoes.
About Stockings/Tights:
Stockings/Tights are apparel items that are fabric made as a covering to the foot which rises to cover the entire leg up to the waist. Stockings/Tights may be worn under pants, but are more likely to be worn with a skirt or dress when legs are visible.