Sex refers to the biological differences between males and females, typically categorized based on reproductive organs and functions. It is determined by genetic factors, such as the presence of XX chromosomes in females and XY chromosomes in males. Sex is often associated with physical characteristics, such as genitalia, secondary sexual characteristics (like breasts or facial hair), and hormonal differences.