Mineralogy is a subject of geology specializing in the scientific study of chemistry, crystal structure, and physical (including optical) properties of minerals.