Diffusive transport: theory and application