Now the real fun begins.

  • The protein crystal is placed inside a special machine.
  • A thin X-ray beam is directed at the crystal.
  • The atoms inside the crystal scatter the X-rays in different directions.
  • This scattered light forms a pattern of dots on a screen or detector.
    This pattern is called a diffraction pattern.

📌 Why is this pattern important?
The position and brightness of the dots tells us how atoms are arranged inside the protein.


Now we move from dots to pictures.

  • Scientists take the data from the diffraction pattern (dots on the screen).
  • Using mathematical formulas and computer software, they calculate where the electrons are likely to be inside the crystal.
  • These electrons surround the atoms, so their distribution helps build an “electron density map”.
  • This map looks like a cloudy 3D model, showing where the atoms are located in the protein.

📌 Think of it like this:
Imagine looking at a cloudy photo where only the shapes of things are visible. From this image, you start guessing, “That’s a chair,” “That’s a table.” Similarly, scientists guess where the atoms are based on the shape of these clouds.


This is the final and most exciting step.

  • The electron density map is analyzed using computer models.
  • Scientists place atoms into the cloud-like map and create a 3D image of the entire protein.
  • This structure helps us understand:
    • How the protein works
    • Where the active site is (the part that performs the function)
    • How a drug can bind to it

🔬 Real-Life Example: Penicillin

The structure of penicillin, one of the first antibiotics, was discovered using X-ray crystallography. Knowing its exact shape helped scientists create better antibiotics to treat infections.


  • It helps us see molecules that are invisible to the naked eye.
  • It is used in drug design, disease research, and genetic studies.
  • It’s like having a microscope powerful enough to see atoms.