Masulipatnam (Machilipatnam) was an important port city during medieval times and a center for the trade of:

Textiles and spices
Precious stones and metals
Horses and livestock
All of the above

The correct answer is: d) All of the above

Masulipatnam (Machilipatnam) was an important port city during medieval times and a center for the trade of textiles and spices, precious stones and metals, and horses and livestock.

Textiles and spices were two of the most important commodities traded in the Indian Ocean during the medieval period. Masulipatnam was a major center for the production of cotton textiles, which were exported to markets throughout the Indian Ocean region. The city was also a major center for the trade of spices, such as pepper, cloves, and nutmeg.

Precious stones and metals were also important commodities traded in the Indian Ocean during the medieval period. Masulipatnam was a major center for the mining of gold and silver, and the city was also a major center for the trade of precious stones, such as diamonds and rubies.

Horses and livestock were also important commodities traded in the Indian Ocean during the medieval period. Masulipatnam was a major center for the breeding and export of horses, and the city was also a major center for the trade of livestock, such as cattle and sheep.

The trade of textiles, spices, precious stones and metals, and horses and livestock made Masulipatnam a wealthy and important city during the medieval period.