Hardwood and softwood are the two main types of wood. Hardwood is more durable and resistant to rot and weather, so it can be used for floors, walls, and ceilings. Softwood is lighter and more flexible but similar in strength; it is commonly used for floors, furniture, and doors. Wood undergoes seasoning to remove sap and water. There are several by-products made from leftover wood including plywood, chipboard, MDF board, and HDF board which are manufactured through compression and gluing of wood fibers, particles, or veneers. These by-products provide wood-like properties at a lower cost than solid wood.