Extruder heats the filament and pushes it through the nozzle. Nozzle temperature may vary, but most of them can hold up to 200-230°C heating, thus it melts down the filament and pushes it through onto the build platform. The filament cools down and thus forms the desired base, while the printer build the final project layer by layer.