Born in Milan in 1739 Moscati Pietro was the son of a distinguished surgeon who, early on, inspired in him a taste for art.
After qualifying as a doctor, he attended the Universities of Padua, Bologna and Pisa, where he was taught by famous men such as Bertrandi, Molinelli and Nannoni.
After being appointed professor at the University of Pavia, he became a close colleague of Volta and Angelo Bellani.
He was forced to leave public affairs, and to resign in the hands of the general, Marshal Guillaume Brune.
When the reactionary forces of Austro-Russians regained Lombardy briefly in 1799, Moscati was arrested and taken with many of his fellow citizens to the fortress of Cattaro.