How do producers make beats?

The use software like FL Studio or Reason to create the instrumentals using different samples and virtual instruments to make a beat.