The video that
@Patriot posted is great information.
Long story short, in 2007 the government mandated a DPF (diesel particulate filter) be fitted on all diesel trucks. This filter catches emissions and holds them until the filter is full. Once the filter is full, the motor goes into regen (short for regeneration). During regen, the computer commands the motor to burn a bunch of fuel to crank up the EGTs (exhaust gas temperatures) to blow all the contaminants out of the exhaust. Once that's done, the filter is empty and the regen is complete.