Stocks are an old punishment device that holds people in place by the head and hands, or the feet. Strictly speaking, stocks only hold the feet and a pillory holds the head and hands.
Stocks were usually put in a public place, where the person being punished was humiliated. Passers-by were free to hurl abuse, rotten fruit or other filth at the person in the stocks.
A sword is a weapon that was used by knights many hundreds of years ago. Swords are usually around 2-3 feet long, made of steel, and have a straight or slightly curved blade that is sharp on both edges. The part of the sword you hold is called the hilt. Most swords have a casing that they could be stored in so the owner wouldn't hurt themselves, this is called a scabbard or a sheath.