Answer
Handel was a contemporary of Scarlatti, both being prominent composers of the Baroque period. Scarlatti, born in Italy, was known for his prolific output of keyboard sonatas, while Handel, born in Germany, gained fame for his operas, oratorios, and concertos. Despite their different musical styles, Scarlatti and Handel shared a similar era and cultural context, influencing each other's work and contributing to the rich musical landscape of the 18th century.