This lecture covers the Monte Carlo simulation method applied to electron trajectory in solids, focusing on the CASINO software developed by the research team at Université de Sherbrooke. It explains how the software predicts signals observed in the SEM and analyzes backscattered coefficients and X-ray geometry.