A metatarsal osteotomy is a procedure to correct deformities in the metatarsal bones, which can lead to conditions like bunions or hammertoes.