Study of organic matter in immature sediments from a Messinian evaporitic basin shows that consideration of structures, modes of occurrence, and carbon isotopic compositions of free and sulfur-bound carbon skeletons allow identification of biochemical precursors. Detailed information concerning biotic communities present during deposition of sediments can be retrieved in this way. Moreover, unprecedented biochemicals were recognized; these extend the horizon of biomarker geochemistry.