Classics is the study of the languages, literatures and cultures of ancient Greece and Rome and their enduring impact. Its core focus is on the Greek and Latin languages from the earliest records until the Middle Ages and on the key works of literature written in these languages. Major subfields include the topics of history, politics, philosophy, art, architecture, archaeology, science, medicine, technology, religion, mythology, magic, law, war, gender and sexuality in Greek and Roman cultures and their legacies.