How does bodybuilding define a set?

Usually the heaviest weight you can do 8-10 reps at an exercise, ending with fatigue of the muscle group. Generally three sets per exercise.