Wilhelm Roentgen discovered X-rays in 1895 and called them X-rays because their nature was unknown at the time. Max von Laue discovered X-ray diffraction in crystals in 1914, for which he won the Nobel Prize. X-rays are produced when high-speed electrons collide with a metal target. When X-rays pass through a small opening and scatter in different directions, it is called X-ray diffraction. This technique is used to study the crystal structure of solids. Bragg's law describes the diffraction of X-rays by crystals and can be used to determine crystal structures. X-ray diffraction is used in fields like soil classification, industrial material analysis, corrosion examination, and determining the structures of proteins