The geology of Wales is complex and varied; its study has been of considerable historical significance in the development of geology as a science. All geological periods from the Cryogenian (late Precambrian) to the Jurassic are represented at outcrops, whilst younger sedimentary rocks occur beneath the seas immediately off the Welsh coast. The effects of two mountain-building episodes have left their mark in the faulting and folding of much of the Palaeozoic rock sequence. Superficial deposits and landforms created during the present Quaternary period by water and ice are also plentiful and contribute to a remarkably diverse landscape of mountains, hills and coastal plains.
Wales' modern character derives in substantial part from the exploitation of its diverse mineral wealth; slate in Snowdonia, coal in the South Wales Valleys and metal ores in Anglesey and mid Wales, to name but three. Wales' geology influences farming practices and building stone choices but also planning of developments which must take into account ground stability and liability to flooding - geohazards which an appreciation of the geology can help deal with.
South Wales has a written record of geological interest going back to the 12th century when Giraldus Cambrensis noted pyritous shales near Newport. George Owen in 1603 correctly identified the stratigraphic relationship between the Carboniferous Limestone and the Coal Measures. Some of the first published representations of fossils were those of fossil plants taken from coal measures near Neath (Gibson late 17th century).