This doctoral thesis uses computational methods like density functional theory and molecular dynamics simulations to study the structural and functional role of cytochrome P450 enzymes. It investigates the metabolism of various substrates by CYP3A4 and CYP450 enzymes to understand reaction pathways and influence of substrate structure on reactivity. Specific reactions studied include hydroxylation of phenyl rings, morpholine rings, and camphor. Flexibility studies using the RIGIX program also examined how the protein environment modulates electronic structure and reactivity. The research provides new insights into CYP450 catalysis at the molecular level and could aid in drug design.