The CDS written exam tests the candidates in diverse fields like English, History, Polity, Economics, Geography, Math, Life Science, Physics, Chemistry, Current Affairs, GK, etc. For OTA exam, syllabus is the same as CDS expect, OTA candidates do not have to sit for mathematics paper. For viewing the detailed syllabus please see the link below.
http://upsc.gov.in/exams/notifications/