The Composter uses a compost barrel to create compost (the item). It works like bonemeal to increase the speed of plant growth. The Florist must have compost to grow flowers. The Farmer does not need compost or bonemeal to work, but prefers it (this is toggleable in the Farm GUI).
Composted dirt can be crafted by the Farmer. It is used in the Flower Shop schematics.