An ice cube is a small piece of ice, which is typically rectangular as viewed from above and trapezoidal as viewed from the side. Ice cubes are products of mechanical refrigeration and are usually produced to cool beverages. They may be produced at home in a freezer with an ice tray or in an automated ice-making accessory. They may also be produced industrially and sold commercially.