A memory foam knee and leg pillow is a type of pillow designed to provide support and cushioning to the knees and legs while sleeping. These pillows are typically made of memory foam, a material that molds to the shape of the body and provides customized support.