The floor of the carpal tunnel is made of bones called the carpal bones and the roof is made of a ligament. A ligament is a group of fibrous tissue that connects bones and cartilage together.