Current in a semiconductor is the sum of drift (carriers pushed by an electric field) and diffusion (carriers spreading down a concentration gradient). Mobility, conductivity, the Einstein relation and the Hall effect describe drift, and they let you find carrier type, concentration and mobility from measurements. Generation and recombination set how long excess carriers survive (the lifetime) and how far they travel before disappearing (the diffusion length). The continuity equation combines drift, diffusion, generation and recombination in one equation, and its steady-state solutions (exponential for a long sample, near-linear for a short one) give the excess-carrier profiles behind diode, BJT and photodetector behaviour. Poisson's equation links the field to the space charge, and quasi-Fermi levels describe electron and hole populations separately once they are out of equilibrium. These are the tools used in every p-n junction problem.