In sports, sets are major sections of a match used to determine the winner.
She won the match in straight sets.
The teams played five sets.
This meaning refers to deciding a standard or adjusting a device to a chosen state.
The teacher sets clear rules.
She sets the alarm for seven o'clock.