The socially constructed roles, behaviors, and expectations assigned to individuals based on their perceived sex.