Can I switch components to one laptop to another?

Sorry in advanced that if it's not grammatically correct bc I'm not a tech person but I have two Dell laptops one is Dell Latitude E5430 and the other is Dell Latitude E6230 and I was wondering if I could use E6230 components and put it in the E5430?
6 answers 6