The physical state of being male or female, based on genetic, anatomical, and hormonal characteristics.