This practice focuses on the analysis of photon and electron interactions with matter using the Geant4 software. The interaction of 10 GeV electrons and photons with a single block of Aluminium was simulated to reconstruct the spectrum of the fraction of deposited energy in the first 5X0. The two spectra, corresponding to electrons and photons, were compared to analyze the differences and similarities between them.