A mattress foundation (boxspring) is a bed base with a wooden frame and either springs or metal rods that provide support to a mattress. The foundation is usually the same size as the mattress that sits on it.