Answer
The impressive buildings that Ferdinand erected in Naples served various purposes, including royal residences, military structures, and public facilities. These architectural achievements showcased his patronage of the arts and contributed to Naples' urban development and beautification, leaving a lasting legacy of Ferdinand's reign in the city.